@dashevo/dapi-grpc 1.0.1 → 1.1.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.
@@ -227,6 +227,13 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVote
227
227
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal', null, { proto });
228
228
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignals', null, { proto });
229
229
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.VersionCase', null, { proto });
230
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest', null, { proto });
231
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0', null, { proto });
232
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.VersionCase', null, { proto });
233
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse', null, { proto });
234
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0', null, { proto });
235
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.ResultCase', null, { proto });
236
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.VersionCase', null, { proto });
230
237
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetVotePollsByEndDateRequest', null, { proto });
231
238
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0', null, { proto });
232
239
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0.EndAtTimeInfo', null, { proto });
@@ -3300,6 +3307,90 @@ if (goog.DEBUG && !COMPILED) {
3300
3307
  */
3301
3308
  proto.org.dash.platform.dapi.v0.GetPrefundedSpecializedBalanceResponse.GetPrefundedSpecializedBalanceResponseV0.displayName = 'proto.org.dash.platform.dapi.v0.GetPrefundedSpecializedBalanceResponse.GetPrefundedSpecializedBalanceResponseV0';
3302
3309
  }
3310
+ /**
3311
+ * Generated by JsPbCodeGenerator.
3312
+ * @param {Array=} opt_data Optional initial data array, typically from a
3313
+ * server response, or constructed directly in Javascript. The array is used
3314
+ * in place and becomes part of the constructed object. It is not cloned.
3315
+ * If no data is provided, the constructed object will be empty, but still
3316
+ * valid.
3317
+ * @extends {jspb.Message}
3318
+ * @constructor
3319
+ */
3320
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest = function(opt_data) {
3321
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.oneofGroups_);
3322
+ };
3323
+ goog.inherits(proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest, jspb.Message);
3324
+ if (goog.DEBUG && !COMPILED) {
3325
+ /**
3326
+ * @public
3327
+ * @override
3328
+ */
3329
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest';
3330
+ }
3331
+ /**
3332
+ * Generated by JsPbCodeGenerator.
3333
+ * @param {Array=} opt_data Optional initial data array, typically from a
3334
+ * server response, or constructed directly in Javascript. The array is used
3335
+ * in place and becomes part of the constructed object. It is not cloned.
3336
+ * If no data is provided, the constructed object will be empty, but still
3337
+ * valid.
3338
+ * @extends {jspb.Message}
3339
+ * @constructor
3340
+ */
3341
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0 = function(opt_data) {
3342
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3343
+ };
3344
+ goog.inherits(proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0, jspb.Message);
3345
+ if (goog.DEBUG && !COMPILED) {
3346
+ /**
3347
+ * @public
3348
+ * @override
3349
+ */
3350
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0';
3351
+ }
3352
+ /**
3353
+ * Generated by JsPbCodeGenerator.
3354
+ * @param {Array=} opt_data Optional initial data array, typically from a
3355
+ * server response, or constructed directly in Javascript. The array is used
3356
+ * in place and becomes part of the constructed object. It is not cloned.
3357
+ * If no data is provided, the constructed object will be empty, but still
3358
+ * valid.
3359
+ * @extends {jspb.Message}
3360
+ * @constructor
3361
+ */
3362
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse = function(opt_data) {
3363
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.oneofGroups_);
3364
+ };
3365
+ goog.inherits(proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse, jspb.Message);
3366
+ if (goog.DEBUG && !COMPILED) {
3367
+ /**
3368
+ * @public
3369
+ * @override
3370
+ */
3371
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse';
3372
+ }
3373
+ /**
3374
+ * Generated by JsPbCodeGenerator.
3375
+ * @param {Array=} opt_data Optional initial data array, typically from a
3376
+ * server response, or constructed directly in Javascript. The array is used
3377
+ * in place and becomes part of the constructed object. It is not cloned.
3378
+ * If no data is provided, the constructed object will be empty, but still
3379
+ * valid.
3380
+ * @extends {jspb.Message}
3381
+ * @constructor
3382
+ */
3383
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0 = function(opt_data) {
3384
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.oneofGroups_);
3385
+ };
3386
+ goog.inherits(proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0, jspb.Message);
3387
+ if (goog.DEBUG && !COMPILED) {
3388
+ /**
3389
+ * @public
3390
+ * @override
3391
+ */
3392
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.displayName = 'proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0';
3393
+ }
3303
3394
  /**
3304
3395
  * Generated by JsPbCodeGenerator.
3305
3396
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -35132,6 +35223,764 @@ proto.org.dash.platform.dapi.v0.GetPrefundedSpecializedBalanceResponse.prototype
35132
35223
 
35133
35224
 
35134
35225
 
35226
+ /**
35227
+ * Oneof group definitions for this message. Each group defines the field
35228
+ * numbers belonging to that group. When of these fields' value is set, all
35229
+ * other fields in the group are cleared. During deserialization, if multiple
35230
+ * fields are encountered for a group, only the last value seen will be kept.
35231
+ * @private {!Array<!Array<number>>}
35232
+ * @const
35233
+ */
35234
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.oneofGroups_ = [[1]];
35235
+
35236
+ /**
35237
+ * @enum {number}
35238
+ */
35239
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.VersionCase = {
35240
+ VERSION_NOT_SET: 0,
35241
+ V0: 1
35242
+ };
35243
+
35244
+ /**
35245
+ * @return {proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.VersionCase}
35246
+ */
35247
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.prototype.getVersionCase = function() {
35248
+ return /** @type {proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.oneofGroups_[0]));
35249
+ };
35250
+
35251
+
35252
+
35253
+ if (jspb.Message.GENERATE_TO_OBJECT) {
35254
+ /**
35255
+ * Creates an object representation of this proto.
35256
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
35257
+ * Optional fields that are not set will be set to undefined.
35258
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
35259
+ * For the list of reserved names please see:
35260
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
35261
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
35262
+ * JSPB instance for transitional soy proto support:
35263
+ * http://goto/soy-param-migration
35264
+ * @return {!Object}
35265
+ */
35266
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.prototype.toObject = function(opt_includeInstance) {
35267
+ return proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.toObject(opt_includeInstance, this);
35268
+ };
35269
+
35270
+
35271
+ /**
35272
+ * Static version of the {@see toObject} method.
35273
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
35274
+ * the JSPB instance for transitional soy proto support:
35275
+ * http://goto/soy-param-migration
35276
+ * @param {!proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest} msg The msg instance to transform.
35277
+ * @return {!Object}
35278
+ * @suppress {unusedLocalVariables} f is only used for nested messages
35279
+ */
35280
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.toObject = function(includeInstance, msg) {
35281
+ var f, obj = {
35282
+ v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0.toObject(includeInstance, f)
35283
+ };
35284
+
35285
+ if (includeInstance) {
35286
+ obj.$jspbMessageInstance = msg;
35287
+ }
35288
+ return obj;
35289
+ };
35290
+ }
35291
+
35292
+
35293
+ /**
35294
+ * Deserializes binary data (in protobuf wire format).
35295
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
35296
+ * @return {!proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest}
35297
+ */
35298
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.deserializeBinary = function(bytes) {
35299
+ var reader = new jspb.BinaryReader(bytes);
35300
+ var msg = new proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest;
35301
+ return proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.deserializeBinaryFromReader(msg, reader);
35302
+ };
35303
+
35304
+
35305
+ /**
35306
+ * Deserializes binary data (in protobuf wire format) from the
35307
+ * given reader into the given message object.
35308
+ * @param {!proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest} msg The message object to deserialize into.
35309
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
35310
+ * @return {!proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest}
35311
+ */
35312
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.deserializeBinaryFromReader = function(msg, reader) {
35313
+ while (reader.nextField()) {
35314
+ if (reader.isEndGroup()) {
35315
+ break;
35316
+ }
35317
+ var field = reader.getFieldNumber();
35318
+ switch (field) {
35319
+ case 1:
35320
+ var value = new proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0;
35321
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0.deserializeBinaryFromReader);
35322
+ msg.setV0(value);
35323
+ break;
35324
+ default:
35325
+ reader.skipField();
35326
+ break;
35327
+ }
35328
+ }
35329
+ return msg;
35330
+ };
35331
+
35332
+
35333
+ /**
35334
+ * Serializes the message to binary data (in protobuf wire format).
35335
+ * @return {!Uint8Array}
35336
+ */
35337
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.prototype.serializeBinary = function() {
35338
+ var writer = new jspb.BinaryWriter();
35339
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.serializeBinaryToWriter(this, writer);
35340
+ return writer.getResultBuffer();
35341
+ };
35342
+
35343
+
35344
+ /**
35345
+ * Serializes the given message to binary data (in protobuf wire
35346
+ * format), writing to the given BinaryWriter.
35347
+ * @param {!proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest} message
35348
+ * @param {!jspb.BinaryWriter} writer
35349
+ * @suppress {unusedLocalVariables} f is only used for nested messages
35350
+ */
35351
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.serializeBinaryToWriter = function(message, writer) {
35352
+ var f = undefined;
35353
+ f = message.getV0();
35354
+ if (f != null) {
35355
+ writer.writeMessage(
35356
+ 1,
35357
+ f,
35358
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0.serializeBinaryToWriter
35359
+ );
35360
+ }
35361
+ };
35362
+
35363
+
35364
+
35365
+
35366
+
35367
+ if (jspb.Message.GENERATE_TO_OBJECT) {
35368
+ /**
35369
+ * Creates an object representation of this proto.
35370
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
35371
+ * Optional fields that are not set will be set to undefined.
35372
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
35373
+ * For the list of reserved names please see:
35374
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
35375
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
35376
+ * JSPB instance for transitional soy proto support:
35377
+ * http://goto/soy-param-migration
35378
+ * @return {!Object}
35379
+ */
35380
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0.prototype.toObject = function(opt_includeInstance) {
35381
+ return proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0.toObject(opt_includeInstance, this);
35382
+ };
35383
+
35384
+
35385
+ /**
35386
+ * Static version of the {@see toObject} method.
35387
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
35388
+ * the JSPB instance for transitional soy proto support:
35389
+ * http://goto/soy-param-migration
35390
+ * @param {!proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0} msg The msg instance to transform.
35391
+ * @return {!Object}
35392
+ * @suppress {unusedLocalVariables} f is only used for nested messages
35393
+ */
35394
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0.toObject = function(includeInstance, msg) {
35395
+ var f, obj = {
35396
+ prove: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
35397
+ };
35398
+
35399
+ if (includeInstance) {
35400
+ obj.$jspbMessageInstance = msg;
35401
+ }
35402
+ return obj;
35403
+ };
35404
+ }
35405
+
35406
+
35407
+ /**
35408
+ * Deserializes binary data (in protobuf wire format).
35409
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
35410
+ * @return {!proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0}
35411
+ */
35412
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0.deserializeBinary = function(bytes) {
35413
+ var reader = new jspb.BinaryReader(bytes);
35414
+ var msg = new proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0;
35415
+ return proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0.deserializeBinaryFromReader(msg, reader);
35416
+ };
35417
+
35418
+
35419
+ /**
35420
+ * Deserializes binary data (in protobuf wire format) from the
35421
+ * given reader into the given message object.
35422
+ * @param {!proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0} msg The message object to deserialize into.
35423
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
35424
+ * @return {!proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0}
35425
+ */
35426
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0.deserializeBinaryFromReader = function(msg, reader) {
35427
+ while (reader.nextField()) {
35428
+ if (reader.isEndGroup()) {
35429
+ break;
35430
+ }
35431
+ var field = reader.getFieldNumber();
35432
+ switch (field) {
35433
+ case 1:
35434
+ var value = /** @type {boolean} */ (reader.readBool());
35435
+ msg.setProve(value);
35436
+ break;
35437
+ default:
35438
+ reader.skipField();
35439
+ break;
35440
+ }
35441
+ }
35442
+ return msg;
35443
+ };
35444
+
35445
+
35446
+ /**
35447
+ * Serializes the message to binary data (in protobuf wire format).
35448
+ * @return {!Uint8Array}
35449
+ */
35450
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0.prototype.serializeBinary = function() {
35451
+ var writer = new jspb.BinaryWriter();
35452
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0.serializeBinaryToWriter(this, writer);
35453
+ return writer.getResultBuffer();
35454
+ };
35455
+
35456
+
35457
+ /**
35458
+ * Serializes the given message to binary data (in protobuf wire
35459
+ * format), writing to the given BinaryWriter.
35460
+ * @param {!proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0} message
35461
+ * @param {!jspb.BinaryWriter} writer
35462
+ * @suppress {unusedLocalVariables} f is only used for nested messages
35463
+ */
35464
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0.serializeBinaryToWriter = function(message, writer) {
35465
+ var f = undefined;
35466
+ f = message.getProve();
35467
+ if (f) {
35468
+ writer.writeBool(
35469
+ 1,
35470
+ f
35471
+ );
35472
+ }
35473
+ };
35474
+
35475
+
35476
+ /**
35477
+ * optional bool prove = 1;
35478
+ * @return {boolean}
35479
+ */
35480
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0.prototype.getProve = function() {
35481
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
35482
+ };
35483
+
35484
+
35485
+ /**
35486
+ * @param {boolean} value
35487
+ * @return {!proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0} returns this
35488
+ */
35489
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0.prototype.setProve = function(value) {
35490
+ return jspb.Message.setProto3BooleanField(this, 1, value);
35491
+ };
35492
+
35493
+
35494
+ /**
35495
+ * optional GetTotalCreditsInPlatformRequestV0 v0 = 1;
35496
+ * @return {?proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0}
35497
+ */
35498
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.prototype.getV0 = function() {
35499
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0} */ (
35500
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0, 1));
35501
+ };
35502
+
35503
+
35504
+ /**
35505
+ * @param {?proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0|undefined} value
35506
+ * @return {!proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest} returns this
35507
+ */
35508
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.prototype.setV0 = function(value) {
35509
+ return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.oneofGroups_[0], value);
35510
+ };
35511
+
35512
+
35513
+ /**
35514
+ * Clears the message field making it undefined.
35515
+ * @return {!proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest} returns this
35516
+ */
35517
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.prototype.clearV0 = function() {
35518
+ return this.setV0(undefined);
35519
+ };
35520
+
35521
+
35522
+ /**
35523
+ * Returns whether this field is set.
35524
+ * @return {boolean}
35525
+ */
35526
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.prototype.hasV0 = function() {
35527
+ return jspb.Message.getField(this, 1) != null;
35528
+ };
35529
+
35530
+
35531
+
35532
+ /**
35533
+ * Oneof group definitions for this message. Each group defines the field
35534
+ * numbers belonging to that group. When of these fields' value is set, all
35535
+ * other fields in the group are cleared. During deserialization, if multiple
35536
+ * fields are encountered for a group, only the last value seen will be kept.
35537
+ * @private {!Array<!Array<number>>}
35538
+ * @const
35539
+ */
35540
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.oneofGroups_ = [[1]];
35541
+
35542
+ /**
35543
+ * @enum {number}
35544
+ */
35545
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.VersionCase = {
35546
+ VERSION_NOT_SET: 0,
35547
+ V0: 1
35548
+ };
35549
+
35550
+ /**
35551
+ * @return {proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.VersionCase}
35552
+ */
35553
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.prototype.getVersionCase = function() {
35554
+ return /** @type {proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.oneofGroups_[0]));
35555
+ };
35556
+
35557
+
35558
+
35559
+ if (jspb.Message.GENERATE_TO_OBJECT) {
35560
+ /**
35561
+ * Creates an object representation of this proto.
35562
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
35563
+ * Optional fields that are not set will be set to undefined.
35564
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
35565
+ * For the list of reserved names please see:
35566
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
35567
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
35568
+ * JSPB instance for transitional soy proto support:
35569
+ * http://goto/soy-param-migration
35570
+ * @return {!Object}
35571
+ */
35572
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.prototype.toObject = function(opt_includeInstance) {
35573
+ return proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.toObject(opt_includeInstance, this);
35574
+ };
35575
+
35576
+
35577
+ /**
35578
+ * Static version of the {@see toObject} method.
35579
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
35580
+ * the JSPB instance for transitional soy proto support:
35581
+ * http://goto/soy-param-migration
35582
+ * @param {!proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse} msg The msg instance to transform.
35583
+ * @return {!Object}
35584
+ * @suppress {unusedLocalVariables} f is only used for nested messages
35585
+ */
35586
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.toObject = function(includeInstance, msg) {
35587
+ var f, obj = {
35588
+ v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.toObject(includeInstance, f)
35589
+ };
35590
+
35591
+ if (includeInstance) {
35592
+ obj.$jspbMessageInstance = msg;
35593
+ }
35594
+ return obj;
35595
+ };
35596
+ }
35597
+
35598
+
35599
+ /**
35600
+ * Deserializes binary data (in protobuf wire format).
35601
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
35602
+ * @return {!proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse}
35603
+ */
35604
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.deserializeBinary = function(bytes) {
35605
+ var reader = new jspb.BinaryReader(bytes);
35606
+ var msg = new proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse;
35607
+ return proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.deserializeBinaryFromReader(msg, reader);
35608
+ };
35609
+
35610
+
35611
+ /**
35612
+ * Deserializes binary data (in protobuf wire format) from the
35613
+ * given reader into the given message object.
35614
+ * @param {!proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse} msg The message object to deserialize into.
35615
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
35616
+ * @return {!proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse}
35617
+ */
35618
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.deserializeBinaryFromReader = function(msg, reader) {
35619
+ while (reader.nextField()) {
35620
+ if (reader.isEndGroup()) {
35621
+ break;
35622
+ }
35623
+ var field = reader.getFieldNumber();
35624
+ switch (field) {
35625
+ case 1:
35626
+ var value = new proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0;
35627
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.deserializeBinaryFromReader);
35628
+ msg.setV0(value);
35629
+ break;
35630
+ default:
35631
+ reader.skipField();
35632
+ break;
35633
+ }
35634
+ }
35635
+ return msg;
35636
+ };
35637
+
35638
+
35639
+ /**
35640
+ * Serializes the message to binary data (in protobuf wire format).
35641
+ * @return {!Uint8Array}
35642
+ */
35643
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.prototype.serializeBinary = function() {
35644
+ var writer = new jspb.BinaryWriter();
35645
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.serializeBinaryToWriter(this, writer);
35646
+ return writer.getResultBuffer();
35647
+ };
35648
+
35649
+
35650
+ /**
35651
+ * Serializes the given message to binary data (in protobuf wire
35652
+ * format), writing to the given BinaryWriter.
35653
+ * @param {!proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse} message
35654
+ * @param {!jspb.BinaryWriter} writer
35655
+ * @suppress {unusedLocalVariables} f is only used for nested messages
35656
+ */
35657
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.serializeBinaryToWriter = function(message, writer) {
35658
+ var f = undefined;
35659
+ f = message.getV0();
35660
+ if (f != null) {
35661
+ writer.writeMessage(
35662
+ 1,
35663
+ f,
35664
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.serializeBinaryToWriter
35665
+ );
35666
+ }
35667
+ };
35668
+
35669
+
35670
+
35671
+ /**
35672
+ * Oneof group definitions for this message. Each group defines the field
35673
+ * numbers belonging to that group. When of these fields' value is set, all
35674
+ * other fields in the group are cleared. During deserialization, if multiple
35675
+ * fields are encountered for a group, only the last value seen will be kept.
35676
+ * @private {!Array<!Array<number>>}
35677
+ * @const
35678
+ */
35679
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.oneofGroups_ = [[1,2]];
35680
+
35681
+ /**
35682
+ * @enum {number}
35683
+ */
35684
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.ResultCase = {
35685
+ RESULT_NOT_SET: 0,
35686
+ CREDITS: 1,
35687
+ PROOF: 2
35688
+ };
35689
+
35690
+ /**
35691
+ * @return {proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.ResultCase}
35692
+ */
35693
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.prototype.getResultCase = function() {
35694
+ return /** @type {proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.oneofGroups_[0]));
35695
+ };
35696
+
35697
+
35698
+
35699
+ if (jspb.Message.GENERATE_TO_OBJECT) {
35700
+ /**
35701
+ * Creates an object representation of this proto.
35702
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
35703
+ * Optional fields that are not set will be set to undefined.
35704
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
35705
+ * For the list of reserved names please see:
35706
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
35707
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
35708
+ * JSPB instance for transitional soy proto support:
35709
+ * http://goto/soy-param-migration
35710
+ * @return {!Object}
35711
+ */
35712
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.prototype.toObject = function(opt_includeInstance) {
35713
+ return proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.toObject(opt_includeInstance, this);
35714
+ };
35715
+
35716
+
35717
+ /**
35718
+ * Static version of the {@see toObject} method.
35719
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
35720
+ * the JSPB instance for transitional soy proto support:
35721
+ * http://goto/soy-param-migration
35722
+ * @param {!proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0} msg The msg instance to transform.
35723
+ * @return {!Object}
35724
+ * @suppress {unusedLocalVariables} f is only used for nested messages
35725
+ */
35726
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.toObject = function(includeInstance, msg) {
35727
+ var f, obj = {
35728
+ credits: jspb.Message.getFieldWithDefault(msg, 1, 0),
35729
+ proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
35730
+ metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
35731
+ };
35732
+
35733
+ if (includeInstance) {
35734
+ obj.$jspbMessageInstance = msg;
35735
+ }
35736
+ return obj;
35737
+ };
35738
+ }
35739
+
35740
+
35741
+ /**
35742
+ * Deserializes binary data (in protobuf wire format).
35743
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
35744
+ * @return {!proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0}
35745
+ */
35746
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.deserializeBinary = function(bytes) {
35747
+ var reader = new jspb.BinaryReader(bytes);
35748
+ var msg = new proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0;
35749
+ return proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.deserializeBinaryFromReader(msg, reader);
35750
+ };
35751
+
35752
+
35753
+ /**
35754
+ * Deserializes binary data (in protobuf wire format) from the
35755
+ * given reader into the given message object.
35756
+ * @param {!proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0} msg The message object to deserialize into.
35757
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
35758
+ * @return {!proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0}
35759
+ */
35760
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.deserializeBinaryFromReader = function(msg, reader) {
35761
+ while (reader.nextField()) {
35762
+ if (reader.isEndGroup()) {
35763
+ break;
35764
+ }
35765
+ var field = reader.getFieldNumber();
35766
+ switch (field) {
35767
+ case 1:
35768
+ var value = /** @type {number} */ (reader.readUint64());
35769
+ msg.setCredits(value);
35770
+ break;
35771
+ case 2:
35772
+ var value = new proto.org.dash.platform.dapi.v0.Proof;
35773
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
35774
+ msg.setProof(value);
35775
+ break;
35776
+ case 3:
35777
+ var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
35778
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
35779
+ msg.setMetadata(value);
35780
+ break;
35781
+ default:
35782
+ reader.skipField();
35783
+ break;
35784
+ }
35785
+ }
35786
+ return msg;
35787
+ };
35788
+
35789
+
35790
+ /**
35791
+ * Serializes the message to binary data (in protobuf wire format).
35792
+ * @return {!Uint8Array}
35793
+ */
35794
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.prototype.serializeBinary = function() {
35795
+ var writer = new jspb.BinaryWriter();
35796
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.serializeBinaryToWriter(this, writer);
35797
+ return writer.getResultBuffer();
35798
+ };
35799
+
35800
+
35801
+ /**
35802
+ * Serializes the given message to binary data (in protobuf wire
35803
+ * format), writing to the given BinaryWriter.
35804
+ * @param {!proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0} message
35805
+ * @param {!jspb.BinaryWriter} writer
35806
+ * @suppress {unusedLocalVariables} f is only used for nested messages
35807
+ */
35808
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.serializeBinaryToWriter = function(message, writer) {
35809
+ var f = undefined;
35810
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
35811
+ if (f != null) {
35812
+ writer.writeUint64(
35813
+ 1,
35814
+ f
35815
+ );
35816
+ }
35817
+ f = message.getProof();
35818
+ if (f != null) {
35819
+ writer.writeMessage(
35820
+ 2,
35821
+ f,
35822
+ proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
35823
+ );
35824
+ }
35825
+ f = message.getMetadata();
35826
+ if (f != null) {
35827
+ writer.writeMessage(
35828
+ 3,
35829
+ f,
35830
+ proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
35831
+ );
35832
+ }
35833
+ };
35834
+
35835
+
35836
+ /**
35837
+ * optional uint64 credits = 1;
35838
+ * @return {number}
35839
+ */
35840
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.prototype.getCredits = function() {
35841
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
35842
+ };
35843
+
35844
+
35845
+ /**
35846
+ * @param {number} value
35847
+ * @return {!proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0} returns this
35848
+ */
35849
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.prototype.setCredits = function(value) {
35850
+ return jspb.Message.setOneofField(this, 1, proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.oneofGroups_[0], value);
35851
+ };
35852
+
35853
+
35854
+ /**
35855
+ * Clears the field making it undefined.
35856
+ * @return {!proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0} returns this
35857
+ */
35858
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.prototype.clearCredits = function() {
35859
+ return jspb.Message.setOneofField(this, 1, proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.oneofGroups_[0], undefined);
35860
+ };
35861
+
35862
+
35863
+ /**
35864
+ * Returns whether this field is set.
35865
+ * @return {boolean}
35866
+ */
35867
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.prototype.hasCredits = function() {
35868
+ return jspb.Message.getField(this, 1) != null;
35869
+ };
35870
+
35871
+
35872
+ /**
35873
+ * optional Proof proof = 2;
35874
+ * @return {?proto.org.dash.platform.dapi.v0.Proof}
35875
+ */
35876
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.prototype.getProof = function() {
35877
+ return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ (
35878
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
35879
+ };
35880
+
35881
+
35882
+ /**
35883
+ * @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value
35884
+ * @return {!proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0} returns this
35885
+ */
35886
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.prototype.setProof = function(value) {
35887
+ return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.oneofGroups_[0], value);
35888
+ };
35889
+
35890
+
35891
+ /**
35892
+ * Clears the message field making it undefined.
35893
+ * @return {!proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0} returns this
35894
+ */
35895
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.prototype.clearProof = function() {
35896
+ return this.setProof(undefined);
35897
+ };
35898
+
35899
+
35900
+ /**
35901
+ * Returns whether this field is set.
35902
+ * @return {boolean}
35903
+ */
35904
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.prototype.hasProof = function() {
35905
+ return jspb.Message.getField(this, 2) != null;
35906
+ };
35907
+
35908
+
35909
+ /**
35910
+ * optional ResponseMetadata metadata = 3;
35911
+ * @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata}
35912
+ */
35913
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.prototype.getMetadata = function() {
35914
+ return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ (
35915
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3));
35916
+ };
35917
+
35918
+
35919
+ /**
35920
+ * @param {?proto.org.dash.platform.dapi.v0.ResponseMetadata|undefined} value
35921
+ * @return {!proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0} returns this
35922
+ */
35923
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.prototype.setMetadata = function(value) {
35924
+ return jspb.Message.setWrapperField(this, 3, value);
35925
+ };
35926
+
35927
+
35928
+ /**
35929
+ * Clears the message field making it undefined.
35930
+ * @return {!proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0} returns this
35931
+ */
35932
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.prototype.clearMetadata = function() {
35933
+ return this.setMetadata(undefined);
35934
+ };
35935
+
35936
+
35937
+ /**
35938
+ * Returns whether this field is set.
35939
+ * @return {boolean}
35940
+ */
35941
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.prototype.hasMetadata = function() {
35942
+ return jspb.Message.getField(this, 3) != null;
35943
+ };
35944
+
35945
+
35946
+ /**
35947
+ * optional GetTotalCreditsInPlatformResponseV0 v0 = 1;
35948
+ * @return {?proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0}
35949
+ */
35950
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.prototype.getV0 = function() {
35951
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0} */ (
35952
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0, 1));
35953
+ };
35954
+
35955
+
35956
+ /**
35957
+ * @param {?proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0|undefined} value
35958
+ * @return {!proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse} returns this
35959
+ */
35960
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.prototype.setV0 = function(value) {
35961
+ return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.oneofGroups_[0], value);
35962
+ };
35963
+
35964
+
35965
+ /**
35966
+ * Clears the message field making it undefined.
35967
+ * @return {!proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse} returns this
35968
+ */
35969
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.prototype.clearV0 = function() {
35970
+ return this.setV0(undefined);
35971
+ };
35972
+
35973
+
35974
+ /**
35975
+ * Returns whether this field is set.
35976
+ * @return {boolean}
35977
+ */
35978
+ proto.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.prototype.hasV0 = function() {
35979
+ return jspb.Message.getField(this, 1) != null;
35980
+ };
35981
+
35982
+
35983
+
35135
35984
  /**
35136
35985
  * Oneof group definitions for this message. Each group defines the field
35137
35986
  * numbers belonging to that group. When of these fields' value is set, all