@dashevo/dapi-grpc 2.0.0-rc.1 → 2.0.0-rc.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -383,6 +383,16 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesR
383
383
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePriceEntry.PriceCase', null, { proto });
384
384
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePrices', null, { proto });
385
385
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.VersionCase', null, { proto });
386
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest', null, { proto });
387
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo', null, { proto });
388
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0', null, { proto });
389
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.VersionCase', null, { proto });
390
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse', null, { proto });
391
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0', null, { proto });
392
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo', null, { proto });
393
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.PaidAtCase', null, { proto });
394
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.ResultCase', null, { proto });
395
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.VersionCase', null, { proto });
386
396
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsRequest', null, { proto });
387
397
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsRequest.GetTokenPreProgrammedDistributionsRequestV0', null, { proto });
388
398
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsRequest.GetTokenPreProgrammedDistributionsRequestV0.StartAtInfo', null, { proto });
@@ -5339,6 +5349,132 @@ if (goog.DEBUG && !COMPILED) {
5339
5349
  */
5340
5350
  proto.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsResponse.GetTokenPreProgrammedDistributionsResponseV0.TokenDistributions.displayName = 'proto.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsResponse.GetTokenPreProgrammedDistributionsResponseV0.TokenDistributions';
5341
5351
  }
5352
+ /**
5353
+ * Generated by JsPbCodeGenerator.
5354
+ * @param {Array=} opt_data Optional initial data array, typically from a
5355
+ * server response, or constructed directly in Javascript. The array is used
5356
+ * in place and becomes part of the constructed object. It is not cloned.
5357
+ * If no data is provided, the constructed object will be empty, but still
5358
+ * valid.
5359
+ * @extends {jspb.Message}
5360
+ * @constructor
5361
+ */
5362
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest = function(opt_data) {
5363
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.oneofGroups_);
5364
+ };
5365
+ goog.inherits(proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest, jspb.Message);
5366
+ if (goog.DEBUG && !COMPILED) {
5367
+ /**
5368
+ * @public
5369
+ * @override
5370
+ */
5371
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest';
5372
+ }
5373
+ /**
5374
+ * Generated by JsPbCodeGenerator.
5375
+ * @param {Array=} opt_data Optional initial data array, typically from a
5376
+ * server response, or constructed directly in Javascript. The array is used
5377
+ * in place and becomes part of the constructed object. It is not cloned.
5378
+ * If no data is provided, the constructed object will be empty, but still
5379
+ * valid.
5380
+ * @extends {jspb.Message}
5381
+ * @constructor
5382
+ */
5383
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo = function(opt_data) {
5384
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5385
+ };
5386
+ goog.inherits(proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo, jspb.Message);
5387
+ if (goog.DEBUG && !COMPILED) {
5388
+ /**
5389
+ * @public
5390
+ * @override
5391
+ */
5392
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.displayName = 'proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo';
5393
+ }
5394
+ /**
5395
+ * Generated by JsPbCodeGenerator.
5396
+ * @param {Array=} opt_data Optional initial data array, typically from a
5397
+ * server response, or constructed directly in Javascript. The array is used
5398
+ * in place and becomes part of the constructed object. It is not cloned.
5399
+ * If no data is provided, the constructed object will be empty, but still
5400
+ * valid.
5401
+ * @extends {jspb.Message}
5402
+ * @constructor
5403
+ */
5404
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0 = function(opt_data) {
5405
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5406
+ };
5407
+ goog.inherits(proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0, jspb.Message);
5408
+ if (goog.DEBUG && !COMPILED) {
5409
+ /**
5410
+ * @public
5411
+ * @override
5412
+ */
5413
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0';
5414
+ }
5415
+ /**
5416
+ * Generated by JsPbCodeGenerator.
5417
+ * @param {Array=} opt_data Optional initial data array, typically from a
5418
+ * server response, or constructed directly in Javascript. The array is used
5419
+ * in place and becomes part of the constructed object. It is not cloned.
5420
+ * If no data is provided, the constructed object will be empty, but still
5421
+ * valid.
5422
+ * @extends {jspb.Message}
5423
+ * @constructor
5424
+ */
5425
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse = function(opt_data) {
5426
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.oneofGroups_);
5427
+ };
5428
+ goog.inherits(proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse, jspb.Message);
5429
+ if (goog.DEBUG && !COMPILED) {
5430
+ /**
5431
+ * @public
5432
+ * @override
5433
+ */
5434
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse';
5435
+ }
5436
+ /**
5437
+ * Generated by JsPbCodeGenerator.
5438
+ * @param {Array=} opt_data Optional initial data array, typically from a
5439
+ * server response, or constructed directly in Javascript. The array is used
5440
+ * in place and becomes part of the constructed object. It is not cloned.
5441
+ * If no data is provided, the constructed object will be empty, but still
5442
+ * valid.
5443
+ * @extends {jspb.Message}
5444
+ * @constructor
5445
+ */
5446
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0 = function(opt_data) {
5447
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.oneofGroups_);
5448
+ };
5449
+ goog.inherits(proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0, jspb.Message);
5450
+ if (goog.DEBUG && !COMPILED) {
5451
+ /**
5452
+ * @public
5453
+ * @override
5454
+ */
5455
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.displayName = 'proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0';
5456
+ }
5457
+ /**
5458
+ * Generated by JsPbCodeGenerator.
5459
+ * @param {Array=} opt_data Optional initial data array, typically from a
5460
+ * server response, or constructed directly in Javascript. The array is used
5461
+ * in place and becomes part of the constructed object. It is not cloned.
5462
+ * If no data is provided, the constructed object will be empty, but still
5463
+ * valid.
5464
+ * @extends {jspb.Message}
5465
+ * @constructor
5466
+ */
5467
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo = function(opt_data) {
5468
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.oneofGroups_);
5469
+ };
5470
+ goog.inherits(proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo, jspb.Message);
5471
+ if (goog.DEBUG && !COMPILED) {
5472
+ /**
5473
+ * @public
5474
+ * @override
5475
+ */
5476
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.displayName = 'proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo';
5477
+ }
5342
5478
  /**
5343
5479
  * Generated by JsPbCodeGenerator.
5344
5480
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -56677,6 +56813,1454 @@ proto.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsResponse.proto
56677
56813
 
56678
56814
 
56679
56815
 
56816
+ /**
56817
+ * Oneof group definitions for this message. Each group defines the field
56818
+ * numbers belonging to that group. When of these fields' value is set, all
56819
+ * other fields in the group are cleared. During deserialization, if multiple
56820
+ * fields are encountered for a group, only the last value seen will be kept.
56821
+ * @private {!Array<!Array<number>>}
56822
+ * @const
56823
+ */
56824
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.oneofGroups_ = [[1]];
56825
+
56826
+ /**
56827
+ * @enum {number}
56828
+ */
56829
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.VersionCase = {
56830
+ VERSION_NOT_SET: 0,
56831
+ V0: 1
56832
+ };
56833
+
56834
+ /**
56835
+ * @return {proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.VersionCase}
56836
+ */
56837
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.prototype.getVersionCase = function() {
56838
+ return /** @type {proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.oneofGroups_[0]));
56839
+ };
56840
+
56841
+
56842
+
56843
+ if (jspb.Message.GENERATE_TO_OBJECT) {
56844
+ /**
56845
+ * Creates an object representation of this proto.
56846
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
56847
+ * Optional fields that are not set will be set to undefined.
56848
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
56849
+ * For the list of reserved names please see:
56850
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
56851
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
56852
+ * JSPB instance for transitional soy proto support:
56853
+ * http://goto/soy-param-migration
56854
+ * @return {!Object}
56855
+ */
56856
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.prototype.toObject = function(opt_includeInstance) {
56857
+ return proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.toObject(opt_includeInstance, this);
56858
+ };
56859
+
56860
+
56861
+ /**
56862
+ * Static version of the {@see toObject} method.
56863
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
56864
+ * the JSPB instance for transitional soy proto support:
56865
+ * http://goto/soy-param-migration
56866
+ * @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest} msg The msg instance to transform.
56867
+ * @return {!Object}
56868
+ * @suppress {unusedLocalVariables} f is only used for nested messages
56869
+ */
56870
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.toObject = function(includeInstance, msg) {
56871
+ var f, obj = {
56872
+ v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.toObject(includeInstance, f)
56873
+ };
56874
+
56875
+ if (includeInstance) {
56876
+ obj.$jspbMessageInstance = msg;
56877
+ }
56878
+ return obj;
56879
+ };
56880
+ }
56881
+
56882
+
56883
+ /**
56884
+ * Deserializes binary data (in protobuf wire format).
56885
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
56886
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest}
56887
+ */
56888
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.deserializeBinary = function(bytes) {
56889
+ var reader = new jspb.BinaryReader(bytes);
56890
+ var msg = new proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest;
56891
+ return proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.deserializeBinaryFromReader(msg, reader);
56892
+ };
56893
+
56894
+
56895
+ /**
56896
+ * Deserializes binary data (in protobuf wire format) from the
56897
+ * given reader into the given message object.
56898
+ * @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest} msg The message object to deserialize into.
56899
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
56900
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest}
56901
+ */
56902
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.deserializeBinaryFromReader = function(msg, reader) {
56903
+ while (reader.nextField()) {
56904
+ if (reader.isEndGroup()) {
56905
+ break;
56906
+ }
56907
+ var field = reader.getFieldNumber();
56908
+ switch (field) {
56909
+ case 1:
56910
+ var value = new proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0;
56911
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.deserializeBinaryFromReader);
56912
+ msg.setV0(value);
56913
+ break;
56914
+ default:
56915
+ reader.skipField();
56916
+ break;
56917
+ }
56918
+ }
56919
+ return msg;
56920
+ };
56921
+
56922
+
56923
+ /**
56924
+ * Serializes the message to binary data (in protobuf wire format).
56925
+ * @return {!Uint8Array}
56926
+ */
56927
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.prototype.serializeBinary = function() {
56928
+ var writer = new jspb.BinaryWriter();
56929
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.serializeBinaryToWriter(this, writer);
56930
+ return writer.getResultBuffer();
56931
+ };
56932
+
56933
+
56934
+ /**
56935
+ * Serializes the given message to binary data (in protobuf wire
56936
+ * format), writing to the given BinaryWriter.
56937
+ * @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest} message
56938
+ * @param {!jspb.BinaryWriter} writer
56939
+ * @suppress {unusedLocalVariables} f is only used for nested messages
56940
+ */
56941
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.serializeBinaryToWriter = function(message, writer) {
56942
+ var f = undefined;
56943
+ f = message.getV0();
56944
+ if (f != null) {
56945
+ writer.writeMessage(
56946
+ 1,
56947
+ f,
56948
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.serializeBinaryToWriter
56949
+ );
56950
+ }
56951
+ };
56952
+
56953
+
56954
+
56955
+
56956
+
56957
+ if (jspb.Message.GENERATE_TO_OBJECT) {
56958
+ /**
56959
+ * Creates an object representation of this proto.
56960
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
56961
+ * Optional fields that are not set will be set to undefined.
56962
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
56963
+ * For the list of reserved names please see:
56964
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
56965
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
56966
+ * JSPB instance for transitional soy proto support:
56967
+ * http://goto/soy-param-migration
56968
+ * @return {!Object}
56969
+ */
56970
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.prototype.toObject = function(opt_includeInstance) {
56971
+ return proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.toObject(opt_includeInstance, this);
56972
+ };
56973
+
56974
+
56975
+ /**
56976
+ * Static version of the {@see toObject} method.
56977
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
56978
+ * the JSPB instance for transitional soy proto support:
56979
+ * http://goto/soy-param-migration
56980
+ * @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo} msg The msg instance to transform.
56981
+ * @return {!Object}
56982
+ * @suppress {unusedLocalVariables} f is only used for nested messages
56983
+ */
56984
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.toObject = function(includeInstance, msg) {
56985
+ var f, obj = {
56986
+ contractId: msg.getContractId_asB64(),
56987
+ tokenContractPosition: jspb.Message.getFieldWithDefault(msg, 2, 0)
56988
+ };
56989
+
56990
+ if (includeInstance) {
56991
+ obj.$jspbMessageInstance = msg;
56992
+ }
56993
+ return obj;
56994
+ };
56995
+ }
56996
+
56997
+
56998
+ /**
56999
+ * Deserializes binary data (in protobuf wire format).
57000
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
57001
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo}
57002
+ */
57003
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.deserializeBinary = function(bytes) {
57004
+ var reader = new jspb.BinaryReader(bytes);
57005
+ var msg = new proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo;
57006
+ return proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.deserializeBinaryFromReader(msg, reader);
57007
+ };
57008
+
57009
+
57010
+ /**
57011
+ * Deserializes binary data (in protobuf wire format) from the
57012
+ * given reader into the given message object.
57013
+ * @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo} msg The message object to deserialize into.
57014
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
57015
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo}
57016
+ */
57017
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.deserializeBinaryFromReader = function(msg, reader) {
57018
+ while (reader.nextField()) {
57019
+ if (reader.isEndGroup()) {
57020
+ break;
57021
+ }
57022
+ var field = reader.getFieldNumber();
57023
+ switch (field) {
57024
+ case 1:
57025
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
57026
+ msg.setContractId(value);
57027
+ break;
57028
+ case 2:
57029
+ var value = /** @type {number} */ (reader.readUint32());
57030
+ msg.setTokenContractPosition(value);
57031
+ break;
57032
+ default:
57033
+ reader.skipField();
57034
+ break;
57035
+ }
57036
+ }
57037
+ return msg;
57038
+ };
57039
+
57040
+
57041
+ /**
57042
+ * Serializes the message to binary data (in protobuf wire format).
57043
+ * @return {!Uint8Array}
57044
+ */
57045
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.prototype.serializeBinary = function() {
57046
+ var writer = new jspb.BinaryWriter();
57047
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.serializeBinaryToWriter(this, writer);
57048
+ return writer.getResultBuffer();
57049
+ };
57050
+
57051
+
57052
+ /**
57053
+ * Serializes the given message to binary data (in protobuf wire
57054
+ * format), writing to the given BinaryWriter.
57055
+ * @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo} message
57056
+ * @param {!jspb.BinaryWriter} writer
57057
+ * @suppress {unusedLocalVariables} f is only used for nested messages
57058
+ */
57059
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.serializeBinaryToWriter = function(message, writer) {
57060
+ var f = undefined;
57061
+ f = message.getContractId_asU8();
57062
+ if (f.length > 0) {
57063
+ writer.writeBytes(
57064
+ 1,
57065
+ f
57066
+ );
57067
+ }
57068
+ f = message.getTokenContractPosition();
57069
+ if (f !== 0) {
57070
+ writer.writeUint32(
57071
+ 2,
57072
+ f
57073
+ );
57074
+ }
57075
+ };
57076
+
57077
+
57078
+ /**
57079
+ * optional bytes contract_id = 1;
57080
+ * @return {string}
57081
+ */
57082
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.prototype.getContractId = function() {
57083
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
57084
+ };
57085
+
57086
+
57087
+ /**
57088
+ * optional bytes contract_id = 1;
57089
+ * This is a type-conversion wrapper around `getContractId()`
57090
+ * @return {string}
57091
+ */
57092
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.prototype.getContractId_asB64 = function() {
57093
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
57094
+ this.getContractId()));
57095
+ };
57096
+
57097
+
57098
+ /**
57099
+ * optional bytes contract_id = 1;
57100
+ * Note that Uint8Array is not supported on all browsers.
57101
+ * @see http://caniuse.com/Uint8Array
57102
+ * This is a type-conversion wrapper around `getContractId()`
57103
+ * @return {!Uint8Array}
57104
+ */
57105
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.prototype.getContractId_asU8 = function() {
57106
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
57107
+ this.getContractId()));
57108
+ };
57109
+
57110
+
57111
+ /**
57112
+ * @param {!(string|Uint8Array)} value
57113
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo} returns this
57114
+ */
57115
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.prototype.setContractId = function(value) {
57116
+ return jspb.Message.setProto3BytesField(this, 1, value);
57117
+ };
57118
+
57119
+
57120
+ /**
57121
+ * optional uint32 token_contract_position = 2;
57122
+ * @return {number}
57123
+ */
57124
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.prototype.getTokenContractPosition = function() {
57125
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
57126
+ };
57127
+
57128
+
57129
+ /**
57130
+ * @param {number} value
57131
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo} returns this
57132
+ */
57133
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.prototype.setTokenContractPosition = function(value) {
57134
+ return jspb.Message.setProto3IntField(this, 2, value);
57135
+ };
57136
+
57137
+
57138
+
57139
+
57140
+
57141
+ if (jspb.Message.GENERATE_TO_OBJECT) {
57142
+ /**
57143
+ * Creates an object representation of this proto.
57144
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
57145
+ * Optional fields that are not set will be set to undefined.
57146
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
57147
+ * For the list of reserved names please see:
57148
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
57149
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
57150
+ * JSPB instance for transitional soy proto support:
57151
+ * http://goto/soy-param-migration
57152
+ * @return {!Object}
57153
+ */
57154
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.prototype.toObject = function(opt_includeInstance) {
57155
+ return proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.toObject(opt_includeInstance, this);
57156
+ };
57157
+
57158
+
57159
+ /**
57160
+ * Static version of the {@see toObject} method.
57161
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
57162
+ * the JSPB instance for transitional soy proto support:
57163
+ * http://goto/soy-param-migration
57164
+ * @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0} msg The msg instance to transform.
57165
+ * @return {!Object}
57166
+ * @suppress {unusedLocalVariables} f is only used for nested messages
57167
+ */
57168
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.toObject = function(includeInstance, msg) {
57169
+ var f, obj = {
57170
+ tokenId: msg.getTokenId_asB64(),
57171
+ contractInfo: (f = msg.getContractInfo()) && proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.toObject(includeInstance, f),
57172
+ identityId: msg.getIdentityId_asB64(),
57173
+ prove: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
57174
+ };
57175
+
57176
+ if (includeInstance) {
57177
+ obj.$jspbMessageInstance = msg;
57178
+ }
57179
+ return obj;
57180
+ };
57181
+ }
57182
+
57183
+
57184
+ /**
57185
+ * Deserializes binary data (in protobuf wire format).
57186
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
57187
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0}
57188
+ */
57189
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.deserializeBinary = function(bytes) {
57190
+ var reader = new jspb.BinaryReader(bytes);
57191
+ var msg = new proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0;
57192
+ return proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.deserializeBinaryFromReader(msg, reader);
57193
+ };
57194
+
57195
+
57196
+ /**
57197
+ * Deserializes binary data (in protobuf wire format) from the
57198
+ * given reader into the given message object.
57199
+ * @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0} msg The message object to deserialize into.
57200
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
57201
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0}
57202
+ */
57203
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.deserializeBinaryFromReader = function(msg, reader) {
57204
+ while (reader.nextField()) {
57205
+ if (reader.isEndGroup()) {
57206
+ break;
57207
+ }
57208
+ var field = reader.getFieldNumber();
57209
+ switch (field) {
57210
+ case 1:
57211
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
57212
+ msg.setTokenId(value);
57213
+ break;
57214
+ case 2:
57215
+ var value = new proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo;
57216
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.deserializeBinaryFromReader);
57217
+ msg.setContractInfo(value);
57218
+ break;
57219
+ case 4:
57220
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
57221
+ msg.setIdentityId(value);
57222
+ break;
57223
+ case 5:
57224
+ var value = /** @type {boolean} */ (reader.readBool());
57225
+ msg.setProve(value);
57226
+ break;
57227
+ default:
57228
+ reader.skipField();
57229
+ break;
57230
+ }
57231
+ }
57232
+ return msg;
57233
+ };
57234
+
57235
+
57236
+ /**
57237
+ * Serializes the message to binary data (in protobuf wire format).
57238
+ * @return {!Uint8Array}
57239
+ */
57240
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.prototype.serializeBinary = function() {
57241
+ var writer = new jspb.BinaryWriter();
57242
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.serializeBinaryToWriter(this, writer);
57243
+ return writer.getResultBuffer();
57244
+ };
57245
+
57246
+
57247
+ /**
57248
+ * Serializes the given message to binary data (in protobuf wire
57249
+ * format), writing to the given BinaryWriter.
57250
+ * @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0} message
57251
+ * @param {!jspb.BinaryWriter} writer
57252
+ * @suppress {unusedLocalVariables} f is only used for nested messages
57253
+ */
57254
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.serializeBinaryToWriter = function(message, writer) {
57255
+ var f = undefined;
57256
+ f = message.getTokenId_asU8();
57257
+ if (f.length > 0) {
57258
+ writer.writeBytes(
57259
+ 1,
57260
+ f
57261
+ );
57262
+ }
57263
+ f = message.getContractInfo();
57264
+ if (f != null) {
57265
+ writer.writeMessage(
57266
+ 2,
57267
+ f,
57268
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.serializeBinaryToWriter
57269
+ );
57270
+ }
57271
+ f = message.getIdentityId_asU8();
57272
+ if (f.length > 0) {
57273
+ writer.writeBytes(
57274
+ 4,
57275
+ f
57276
+ );
57277
+ }
57278
+ f = message.getProve();
57279
+ if (f) {
57280
+ writer.writeBool(
57281
+ 5,
57282
+ f
57283
+ );
57284
+ }
57285
+ };
57286
+
57287
+
57288
+ /**
57289
+ * optional bytes token_id = 1;
57290
+ * @return {string}
57291
+ */
57292
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.prototype.getTokenId = function() {
57293
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
57294
+ };
57295
+
57296
+
57297
+ /**
57298
+ * optional bytes token_id = 1;
57299
+ * This is a type-conversion wrapper around `getTokenId()`
57300
+ * @return {string}
57301
+ */
57302
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.prototype.getTokenId_asB64 = function() {
57303
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
57304
+ this.getTokenId()));
57305
+ };
57306
+
57307
+
57308
+ /**
57309
+ * optional bytes token_id = 1;
57310
+ * Note that Uint8Array is not supported on all browsers.
57311
+ * @see http://caniuse.com/Uint8Array
57312
+ * This is a type-conversion wrapper around `getTokenId()`
57313
+ * @return {!Uint8Array}
57314
+ */
57315
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.prototype.getTokenId_asU8 = function() {
57316
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
57317
+ this.getTokenId()));
57318
+ };
57319
+
57320
+
57321
+ /**
57322
+ * @param {!(string|Uint8Array)} value
57323
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0} returns this
57324
+ */
57325
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.prototype.setTokenId = function(value) {
57326
+ return jspb.Message.setProto3BytesField(this, 1, value);
57327
+ };
57328
+
57329
+
57330
+ /**
57331
+ * optional ContractTokenInfo contract_info = 2;
57332
+ * @return {?proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo}
57333
+ */
57334
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.prototype.getContractInfo = function() {
57335
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo} */ (
57336
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo, 2));
57337
+ };
57338
+
57339
+
57340
+ /**
57341
+ * @param {?proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo|undefined} value
57342
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0} returns this
57343
+ */
57344
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.prototype.setContractInfo = function(value) {
57345
+ return jspb.Message.setWrapperField(this, 2, value);
57346
+ };
57347
+
57348
+
57349
+ /**
57350
+ * Clears the message field making it undefined.
57351
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0} returns this
57352
+ */
57353
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.prototype.clearContractInfo = function() {
57354
+ return this.setContractInfo(undefined);
57355
+ };
57356
+
57357
+
57358
+ /**
57359
+ * Returns whether this field is set.
57360
+ * @return {boolean}
57361
+ */
57362
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.prototype.hasContractInfo = function() {
57363
+ return jspb.Message.getField(this, 2) != null;
57364
+ };
57365
+
57366
+
57367
+ /**
57368
+ * optional bytes identity_id = 4;
57369
+ * @return {string}
57370
+ */
57371
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.prototype.getIdentityId = function() {
57372
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
57373
+ };
57374
+
57375
+
57376
+ /**
57377
+ * optional bytes identity_id = 4;
57378
+ * This is a type-conversion wrapper around `getIdentityId()`
57379
+ * @return {string}
57380
+ */
57381
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.prototype.getIdentityId_asB64 = function() {
57382
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
57383
+ this.getIdentityId()));
57384
+ };
57385
+
57386
+
57387
+ /**
57388
+ * optional bytes identity_id = 4;
57389
+ * Note that Uint8Array is not supported on all browsers.
57390
+ * @see http://caniuse.com/Uint8Array
57391
+ * This is a type-conversion wrapper around `getIdentityId()`
57392
+ * @return {!Uint8Array}
57393
+ */
57394
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.prototype.getIdentityId_asU8 = function() {
57395
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
57396
+ this.getIdentityId()));
57397
+ };
57398
+
57399
+
57400
+ /**
57401
+ * @param {!(string|Uint8Array)} value
57402
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0} returns this
57403
+ */
57404
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.prototype.setIdentityId = function(value) {
57405
+ return jspb.Message.setProto3BytesField(this, 4, value);
57406
+ };
57407
+
57408
+
57409
+ /**
57410
+ * optional bool prove = 5;
57411
+ * @return {boolean}
57412
+ */
57413
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.prototype.getProve = function() {
57414
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
57415
+ };
57416
+
57417
+
57418
+ /**
57419
+ * @param {boolean} value
57420
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0} returns this
57421
+ */
57422
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.prototype.setProve = function(value) {
57423
+ return jspb.Message.setProto3BooleanField(this, 5, value);
57424
+ };
57425
+
57426
+
57427
+ /**
57428
+ * optional GetTokenPerpetualDistributionLastClaimRequestV0 v0 = 1;
57429
+ * @return {?proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0}
57430
+ */
57431
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.prototype.getV0 = function() {
57432
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0} */ (
57433
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0, 1));
57434
+ };
57435
+
57436
+
57437
+ /**
57438
+ * @param {?proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0|undefined} value
57439
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest} returns this
57440
+ */
57441
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.prototype.setV0 = function(value) {
57442
+ return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.oneofGroups_[0], value);
57443
+ };
57444
+
57445
+
57446
+ /**
57447
+ * Clears the message field making it undefined.
57448
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest} returns this
57449
+ */
57450
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.prototype.clearV0 = function() {
57451
+ return this.setV0(undefined);
57452
+ };
57453
+
57454
+
57455
+ /**
57456
+ * Returns whether this field is set.
57457
+ * @return {boolean}
57458
+ */
57459
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.prototype.hasV0 = function() {
57460
+ return jspb.Message.getField(this, 1) != null;
57461
+ };
57462
+
57463
+
57464
+
57465
+ /**
57466
+ * Oneof group definitions for this message. Each group defines the field
57467
+ * numbers belonging to that group. When of these fields' value is set, all
57468
+ * other fields in the group are cleared. During deserialization, if multiple
57469
+ * fields are encountered for a group, only the last value seen will be kept.
57470
+ * @private {!Array<!Array<number>>}
57471
+ * @const
57472
+ */
57473
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.oneofGroups_ = [[1]];
57474
+
57475
+ /**
57476
+ * @enum {number}
57477
+ */
57478
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.VersionCase = {
57479
+ VERSION_NOT_SET: 0,
57480
+ V0: 1
57481
+ };
57482
+
57483
+ /**
57484
+ * @return {proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.VersionCase}
57485
+ */
57486
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.prototype.getVersionCase = function() {
57487
+ return /** @type {proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.oneofGroups_[0]));
57488
+ };
57489
+
57490
+
57491
+
57492
+ if (jspb.Message.GENERATE_TO_OBJECT) {
57493
+ /**
57494
+ * Creates an object representation of this proto.
57495
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
57496
+ * Optional fields that are not set will be set to undefined.
57497
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
57498
+ * For the list of reserved names please see:
57499
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
57500
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
57501
+ * JSPB instance for transitional soy proto support:
57502
+ * http://goto/soy-param-migration
57503
+ * @return {!Object}
57504
+ */
57505
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.prototype.toObject = function(opt_includeInstance) {
57506
+ return proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.toObject(opt_includeInstance, this);
57507
+ };
57508
+
57509
+
57510
+ /**
57511
+ * Static version of the {@see toObject} method.
57512
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
57513
+ * the JSPB instance for transitional soy proto support:
57514
+ * http://goto/soy-param-migration
57515
+ * @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse} msg The msg instance to transform.
57516
+ * @return {!Object}
57517
+ * @suppress {unusedLocalVariables} f is only used for nested messages
57518
+ */
57519
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.toObject = function(includeInstance, msg) {
57520
+ var f, obj = {
57521
+ v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.toObject(includeInstance, f)
57522
+ };
57523
+
57524
+ if (includeInstance) {
57525
+ obj.$jspbMessageInstance = msg;
57526
+ }
57527
+ return obj;
57528
+ };
57529
+ }
57530
+
57531
+
57532
+ /**
57533
+ * Deserializes binary data (in protobuf wire format).
57534
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
57535
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse}
57536
+ */
57537
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.deserializeBinary = function(bytes) {
57538
+ var reader = new jspb.BinaryReader(bytes);
57539
+ var msg = new proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse;
57540
+ return proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.deserializeBinaryFromReader(msg, reader);
57541
+ };
57542
+
57543
+
57544
+ /**
57545
+ * Deserializes binary data (in protobuf wire format) from the
57546
+ * given reader into the given message object.
57547
+ * @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse} msg The message object to deserialize into.
57548
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
57549
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse}
57550
+ */
57551
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.deserializeBinaryFromReader = function(msg, reader) {
57552
+ while (reader.nextField()) {
57553
+ if (reader.isEndGroup()) {
57554
+ break;
57555
+ }
57556
+ var field = reader.getFieldNumber();
57557
+ switch (field) {
57558
+ case 1:
57559
+ var value = new proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0;
57560
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.deserializeBinaryFromReader);
57561
+ msg.setV0(value);
57562
+ break;
57563
+ default:
57564
+ reader.skipField();
57565
+ break;
57566
+ }
57567
+ }
57568
+ return msg;
57569
+ };
57570
+
57571
+
57572
+ /**
57573
+ * Serializes the message to binary data (in protobuf wire format).
57574
+ * @return {!Uint8Array}
57575
+ */
57576
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.prototype.serializeBinary = function() {
57577
+ var writer = new jspb.BinaryWriter();
57578
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.serializeBinaryToWriter(this, writer);
57579
+ return writer.getResultBuffer();
57580
+ };
57581
+
57582
+
57583
+ /**
57584
+ * Serializes the given message to binary data (in protobuf wire
57585
+ * format), writing to the given BinaryWriter.
57586
+ * @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse} message
57587
+ * @param {!jspb.BinaryWriter} writer
57588
+ * @suppress {unusedLocalVariables} f is only used for nested messages
57589
+ */
57590
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.serializeBinaryToWriter = function(message, writer) {
57591
+ var f = undefined;
57592
+ f = message.getV0();
57593
+ if (f != null) {
57594
+ writer.writeMessage(
57595
+ 1,
57596
+ f,
57597
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.serializeBinaryToWriter
57598
+ );
57599
+ }
57600
+ };
57601
+
57602
+
57603
+
57604
+ /**
57605
+ * Oneof group definitions for this message. Each group defines the field
57606
+ * numbers belonging to that group. When of these fields' value is set, all
57607
+ * other fields in the group are cleared. During deserialization, if multiple
57608
+ * fields are encountered for a group, only the last value seen will be kept.
57609
+ * @private {!Array<!Array<number>>}
57610
+ * @const
57611
+ */
57612
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.oneofGroups_ = [[1,2]];
57613
+
57614
+ /**
57615
+ * @enum {number}
57616
+ */
57617
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.ResultCase = {
57618
+ RESULT_NOT_SET: 0,
57619
+ LAST_CLAIM: 1,
57620
+ PROOF: 2
57621
+ };
57622
+
57623
+ /**
57624
+ * @return {proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.ResultCase}
57625
+ */
57626
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.prototype.getResultCase = function() {
57627
+ return /** @type {proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.oneofGroups_[0]));
57628
+ };
57629
+
57630
+
57631
+
57632
+ if (jspb.Message.GENERATE_TO_OBJECT) {
57633
+ /**
57634
+ * Creates an object representation of this proto.
57635
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
57636
+ * Optional fields that are not set will be set to undefined.
57637
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
57638
+ * For the list of reserved names please see:
57639
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
57640
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
57641
+ * JSPB instance for transitional soy proto support:
57642
+ * http://goto/soy-param-migration
57643
+ * @return {!Object}
57644
+ */
57645
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.prototype.toObject = function(opt_includeInstance) {
57646
+ return proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.toObject(opt_includeInstance, this);
57647
+ };
57648
+
57649
+
57650
+ /**
57651
+ * Static version of the {@see toObject} method.
57652
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
57653
+ * the JSPB instance for transitional soy proto support:
57654
+ * http://goto/soy-param-migration
57655
+ * @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0} msg The msg instance to transform.
57656
+ * @return {!Object}
57657
+ * @suppress {unusedLocalVariables} f is only used for nested messages
57658
+ */
57659
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.toObject = function(includeInstance, msg) {
57660
+ var f, obj = {
57661
+ lastClaim: (f = msg.getLastClaim()) && proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.toObject(includeInstance, f),
57662
+ proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
57663
+ metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
57664
+ };
57665
+
57666
+ if (includeInstance) {
57667
+ obj.$jspbMessageInstance = msg;
57668
+ }
57669
+ return obj;
57670
+ };
57671
+ }
57672
+
57673
+
57674
+ /**
57675
+ * Deserializes binary data (in protobuf wire format).
57676
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
57677
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0}
57678
+ */
57679
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.deserializeBinary = function(bytes) {
57680
+ var reader = new jspb.BinaryReader(bytes);
57681
+ var msg = new proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0;
57682
+ return proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.deserializeBinaryFromReader(msg, reader);
57683
+ };
57684
+
57685
+
57686
+ /**
57687
+ * Deserializes binary data (in protobuf wire format) from the
57688
+ * given reader into the given message object.
57689
+ * @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0} msg The message object to deserialize into.
57690
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
57691
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0}
57692
+ */
57693
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.deserializeBinaryFromReader = function(msg, reader) {
57694
+ while (reader.nextField()) {
57695
+ if (reader.isEndGroup()) {
57696
+ break;
57697
+ }
57698
+ var field = reader.getFieldNumber();
57699
+ switch (field) {
57700
+ case 1:
57701
+ var value = new proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo;
57702
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.deserializeBinaryFromReader);
57703
+ msg.setLastClaim(value);
57704
+ break;
57705
+ case 2:
57706
+ var value = new proto.org.dash.platform.dapi.v0.Proof;
57707
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
57708
+ msg.setProof(value);
57709
+ break;
57710
+ case 3:
57711
+ var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
57712
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
57713
+ msg.setMetadata(value);
57714
+ break;
57715
+ default:
57716
+ reader.skipField();
57717
+ break;
57718
+ }
57719
+ }
57720
+ return msg;
57721
+ };
57722
+
57723
+
57724
+ /**
57725
+ * Serializes the message to binary data (in protobuf wire format).
57726
+ * @return {!Uint8Array}
57727
+ */
57728
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.prototype.serializeBinary = function() {
57729
+ var writer = new jspb.BinaryWriter();
57730
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.serializeBinaryToWriter(this, writer);
57731
+ return writer.getResultBuffer();
57732
+ };
57733
+
57734
+
57735
+ /**
57736
+ * Serializes the given message to binary data (in protobuf wire
57737
+ * format), writing to the given BinaryWriter.
57738
+ * @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0} message
57739
+ * @param {!jspb.BinaryWriter} writer
57740
+ * @suppress {unusedLocalVariables} f is only used for nested messages
57741
+ */
57742
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.serializeBinaryToWriter = function(message, writer) {
57743
+ var f = undefined;
57744
+ f = message.getLastClaim();
57745
+ if (f != null) {
57746
+ writer.writeMessage(
57747
+ 1,
57748
+ f,
57749
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.serializeBinaryToWriter
57750
+ );
57751
+ }
57752
+ f = message.getProof();
57753
+ if (f != null) {
57754
+ writer.writeMessage(
57755
+ 2,
57756
+ f,
57757
+ proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
57758
+ );
57759
+ }
57760
+ f = message.getMetadata();
57761
+ if (f != null) {
57762
+ writer.writeMessage(
57763
+ 3,
57764
+ f,
57765
+ proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
57766
+ );
57767
+ }
57768
+ };
57769
+
57770
+
57771
+
57772
+ /**
57773
+ * Oneof group definitions for this message. Each group defines the field
57774
+ * numbers belonging to that group. When of these fields' value is set, all
57775
+ * other fields in the group are cleared. During deserialization, if multiple
57776
+ * fields are encountered for a group, only the last value seen will be kept.
57777
+ * @private {!Array<!Array<number>>}
57778
+ * @const
57779
+ */
57780
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.oneofGroups_ = [[1,2,3,4]];
57781
+
57782
+ /**
57783
+ * @enum {number}
57784
+ */
57785
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.PaidAtCase = {
57786
+ PAID_AT_NOT_SET: 0,
57787
+ TIMESTAMP_MS: 1,
57788
+ BLOCK_HEIGHT: 2,
57789
+ EPOCH: 3,
57790
+ RAW_BYTES: 4
57791
+ };
57792
+
57793
+ /**
57794
+ * @return {proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.PaidAtCase}
57795
+ */
57796
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.getPaidAtCase = function() {
57797
+ return /** @type {proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.PaidAtCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.oneofGroups_[0]));
57798
+ };
57799
+
57800
+
57801
+
57802
+ if (jspb.Message.GENERATE_TO_OBJECT) {
57803
+ /**
57804
+ * Creates an object representation of this proto.
57805
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
57806
+ * Optional fields that are not set will be set to undefined.
57807
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
57808
+ * For the list of reserved names please see:
57809
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
57810
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
57811
+ * JSPB instance for transitional soy proto support:
57812
+ * http://goto/soy-param-migration
57813
+ * @return {!Object}
57814
+ */
57815
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.toObject = function(opt_includeInstance) {
57816
+ return proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.toObject(opt_includeInstance, this);
57817
+ };
57818
+
57819
+
57820
+ /**
57821
+ * Static version of the {@see toObject} method.
57822
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
57823
+ * the JSPB instance for transitional soy proto support:
57824
+ * http://goto/soy-param-migration
57825
+ * @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo} msg The msg instance to transform.
57826
+ * @return {!Object}
57827
+ * @suppress {unusedLocalVariables} f is only used for nested messages
57828
+ */
57829
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.toObject = function(includeInstance, msg) {
57830
+ var f, obj = {
57831
+ timestampMs: jspb.Message.getFieldWithDefault(msg, 1, "0"),
57832
+ blockHeight: jspb.Message.getFieldWithDefault(msg, 2, "0"),
57833
+ epoch: jspb.Message.getFieldWithDefault(msg, 3, 0),
57834
+ rawBytes: msg.getRawBytes_asB64()
57835
+ };
57836
+
57837
+ if (includeInstance) {
57838
+ obj.$jspbMessageInstance = msg;
57839
+ }
57840
+ return obj;
57841
+ };
57842
+ }
57843
+
57844
+
57845
+ /**
57846
+ * Deserializes binary data (in protobuf wire format).
57847
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
57848
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo}
57849
+ */
57850
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.deserializeBinary = function(bytes) {
57851
+ var reader = new jspb.BinaryReader(bytes);
57852
+ var msg = new proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo;
57853
+ return proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.deserializeBinaryFromReader(msg, reader);
57854
+ };
57855
+
57856
+
57857
+ /**
57858
+ * Deserializes binary data (in protobuf wire format) from the
57859
+ * given reader into the given message object.
57860
+ * @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo} msg The message object to deserialize into.
57861
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
57862
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo}
57863
+ */
57864
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.deserializeBinaryFromReader = function(msg, reader) {
57865
+ while (reader.nextField()) {
57866
+ if (reader.isEndGroup()) {
57867
+ break;
57868
+ }
57869
+ var field = reader.getFieldNumber();
57870
+ switch (field) {
57871
+ case 1:
57872
+ var value = /** @type {string} */ (reader.readUint64String());
57873
+ msg.setTimestampMs(value);
57874
+ break;
57875
+ case 2:
57876
+ var value = /** @type {string} */ (reader.readUint64String());
57877
+ msg.setBlockHeight(value);
57878
+ break;
57879
+ case 3:
57880
+ var value = /** @type {number} */ (reader.readUint32());
57881
+ msg.setEpoch(value);
57882
+ break;
57883
+ case 4:
57884
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
57885
+ msg.setRawBytes(value);
57886
+ break;
57887
+ default:
57888
+ reader.skipField();
57889
+ break;
57890
+ }
57891
+ }
57892
+ return msg;
57893
+ };
57894
+
57895
+
57896
+ /**
57897
+ * Serializes the message to binary data (in protobuf wire format).
57898
+ * @return {!Uint8Array}
57899
+ */
57900
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.serializeBinary = function() {
57901
+ var writer = new jspb.BinaryWriter();
57902
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.serializeBinaryToWriter(this, writer);
57903
+ return writer.getResultBuffer();
57904
+ };
57905
+
57906
+
57907
+ /**
57908
+ * Serializes the given message to binary data (in protobuf wire
57909
+ * format), writing to the given BinaryWriter.
57910
+ * @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo} message
57911
+ * @param {!jspb.BinaryWriter} writer
57912
+ * @suppress {unusedLocalVariables} f is only used for nested messages
57913
+ */
57914
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.serializeBinaryToWriter = function(message, writer) {
57915
+ var f = undefined;
57916
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
57917
+ if (f != null) {
57918
+ writer.writeUint64String(
57919
+ 1,
57920
+ f
57921
+ );
57922
+ }
57923
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
57924
+ if (f != null) {
57925
+ writer.writeUint64String(
57926
+ 2,
57927
+ f
57928
+ );
57929
+ }
57930
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
57931
+ if (f != null) {
57932
+ writer.writeUint32(
57933
+ 3,
57934
+ f
57935
+ );
57936
+ }
57937
+ f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 4));
57938
+ if (f != null) {
57939
+ writer.writeBytes(
57940
+ 4,
57941
+ f
57942
+ );
57943
+ }
57944
+ };
57945
+
57946
+
57947
+ /**
57948
+ * optional uint64 timestamp_ms = 1;
57949
+ * @return {string}
57950
+ */
57951
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.getTimestampMs = function() {
57952
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "0"));
57953
+ };
57954
+
57955
+
57956
+ /**
57957
+ * @param {string} value
57958
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo} returns this
57959
+ */
57960
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.setTimestampMs = function(value) {
57961
+ return jspb.Message.setOneofField(this, 1, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.oneofGroups_[0], value);
57962
+ };
57963
+
57964
+
57965
+ /**
57966
+ * Clears the field making it undefined.
57967
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo} returns this
57968
+ */
57969
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.clearTimestampMs = function() {
57970
+ return jspb.Message.setOneofField(this, 1, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.oneofGroups_[0], undefined);
57971
+ };
57972
+
57973
+
57974
+ /**
57975
+ * Returns whether this field is set.
57976
+ * @return {boolean}
57977
+ */
57978
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.hasTimestampMs = function() {
57979
+ return jspb.Message.getField(this, 1) != null;
57980
+ };
57981
+
57982
+
57983
+ /**
57984
+ * optional uint64 block_height = 2;
57985
+ * @return {string}
57986
+ */
57987
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.getBlockHeight = function() {
57988
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "0"));
57989
+ };
57990
+
57991
+
57992
+ /**
57993
+ * @param {string} value
57994
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo} returns this
57995
+ */
57996
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.setBlockHeight = function(value) {
57997
+ return jspb.Message.setOneofField(this, 2, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.oneofGroups_[0], value);
57998
+ };
57999
+
58000
+
58001
+ /**
58002
+ * Clears the field making it undefined.
58003
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo} returns this
58004
+ */
58005
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.clearBlockHeight = function() {
58006
+ return jspb.Message.setOneofField(this, 2, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.oneofGroups_[0], undefined);
58007
+ };
58008
+
58009
+
58010
+ /**
58011
+ * Returns whether this field is set.
58012
+ * @return {boolean}
58013
+ */
58014
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.hasBlockHeight = function() {
58015
+ return jspb.Message.getField(this, 2) != null;
58016
+ };
58017
+
58018
+
58019
+ /**
58020
+ * optional uint32 epoch = 3;
58021
+ * @return {number}
58022
+ */
58023
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.getEpoch = function() {
58024
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
58025
+ };
58026
+
58027
+
58028
+ /**
58029
+ * @param {number} value
58030
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo} returns this
58031
+ */
58032
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.setEpoch = function(value) {
58033
+ return jspb.Message.setOneofField(this, 3, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.oneofGroups_[0], value);
58034
+ };
58035
+
58036
+
58037
+ /**
58038
+ * Clears the field making it undefined.
58039
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo} returns this
58040
+ */
58041
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.clearEpoch = function() {
58042
+ return jspb.Message.setOneofField(this, 3, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.oneofGroups_[0], undefined);
58043
+ };
58044
+
58045
+
58046
+ /**
58047
+ * Returns whether this field is set.
58048
+ * @return {boolean}
58049
+ */
58050
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.hasEpoch = function() {
58051
+ return jspb.Message.getField(this, 3) != null;
58052
+ };
58053
+
58054
+
58055
+ /**
58056
+ * optional bytes raw_bytes = 4;
58057
+ * @return {string}
58058
+ */
58059
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.getRawBytes = function() {
58060
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
58061
+ };
58062
+
58063
+
58064
+ /**
58065
+ * optional bytes raw_bytes = 4;
58066
+ * This is a type-conversion wrapper around `getRawBytes()`
58067
+ * @return {string}
58068
+ */
58069
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.getRawBytes_asB64 = function() {
58070
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
58071
+ this.getRawBytes()));
58072
+ };
58073
+
58074
+
58075
+ /**
58076
+ * optional bytes raw_bytes = 4;
58077
+ * Note that Uint8Array is not supported on all browsers.
58078
+ * @see http://caniuse.com/Uint8Array
58079
+ * This is a type-conversion wrapper around `getRawBytes()`
58080
+ * @return {!Uint8Array}
58081
+ */
58082
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.getRawBytes_asU8 = function() {
58083
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
58084
+ this.getRawBytes()));
58085
+ };
58086
+
58087
+
58088
+ /**
58089
+ * @param {!(string|Uint8Array)} value
58090
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo} returns this
58091
+ */
58092
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.setRawBytes = function(value) {
58093
+ return jspb.Message.setOneofField(this, 4, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.oneofGroups_[0], value);
58094
+ };
58095
+
58096
+
58097
+ /**
58098
+ * Clears the field making it undefined.
58099
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo} returns this
58100
+ */
58101
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.clearRawBytes = function() {
58102
+ return jspb.Message.setOneofField(this, 4, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.oneofGroups_[0], undefined);
58103
+ };
58104
+
58105
+
58106
+ /**
58107
+ * Returns whether this field is set.
58108
+ * @return {boolean}
58109
+ */
58110
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.hasRawBytes = function() {
58111
+ return jspb.Message.getField(this, 4) != null;
58112
+ };
58113
+
58114
+
58115
+ /**
58116
+ * optional LastClaimInfo last_claim = 1;
58117
+ * @return {?proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo}
58118
+ */
58119
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.prototype.getLastClaim = function() {
58120
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo} */ (
58121
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo, 1));
58122
+ };
58123
+
58124
+
58125
+ /**
58126
+ * @param {?proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo|undefined} value
58127
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0} returns this
58128
+ */
58129
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.prototype.setLastClaim = function(value) {
58130
+ return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.oneofGroups_[0], value);
58131
+ };
58132
+
58133
+
58134
+ /**
58135
+ * Clears the message field making it undefined.
58136
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0} returns this
58137
+ */
58138
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.prototype.clearLastClaim = function() {
58139
+ return this.setLastClaim(undefined);
58140
+ };
58141
+
58142
+
58143
+ /**
58144
+ * Returns whether this field is set.
58145
+ * @return {boolean}
58146
+ */
58147
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.prototype.hasLastClaim = function() {
58148
+ return jspb.Message.getField(this, 1) != null;
58149
+ };
58150
+
58151
+
58152
+ /**
58153
+ * optional Proof proof = 2;
58154
+ * @return {?proto.org.dash.platform.dapi.v0.Proof}
58155
+ */
58156
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.prototype.getProof = function() {
58157
+ return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ (
58158
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
58159
+ };
58160
+
58161
+
58162
+ /**
58163
+ * @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value
58164
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0} returns this
58165
+ */
58166
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.prototype.setProof = function(value) {
58167
+ return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.oneofGroups_[0], value);
58168
+ };
58169
+
58170
+
58171
+ /**
58172
+ * Clears the message field making it undefined.
58173
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0} returns this
58174
+ */
58175
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.prototype.clearProof = function() {
58176
+ return this.setProof(undefined);
58177
+ };
58178
+
58179
+
58180
+ /**
58181
+ * Returns whether this field is set.
58182
+ * @return {boolean}
58183
+ */
58184
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.prototype.hasProof = function() {
58185
+ return jspb.Message.getField(this, 2) != null;
58186
+ };
58187
+
58188
+
58189
+ /**
58190
+ * optional ResponseMetadata metadata = 3;
58191
+ * @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata}
58192
+ */
58193
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.prototype.getMetadata = function() {
58194
+ return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ (
58195
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3));
58196
+ };
58197
+
58198
+
58199
+ /**
58200
+ * @param {?proto.org.dash.platform.dapi.v0.ResponseMetadata|undefined} value
58201
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0} returns this
58202
+ */
58203
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.prototype.setMetadata = function(value) {
58204
+ return jspb.Message.setWrapperField(this, 3, value);
58205
+ };
58206
+
58207
+
58208
+ /**
58209
+ * Clears the message field making it undefined.
58210
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0} returns this
58211
+ */
58212
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.prototype.clearMetadata = function() {
58213
+ return this.setMetadata(undefined);
58214
+ };
58215
+
58216
+
58217
+ /**
58218
+ * Returns whether this field is set.
58219
+ * @return {boolean}
58220
+ */
58221
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.prototype.hasMetadata = function() {
58222
+ return jspb.Message.getField(this, 3) != null;
58223
+ };
58224
+
58225
+
58226
+ /**
58227
+ * optional GetTokenPerpetualDistributionLastClaimResponseV0 v0 = 1;
58228
+ * @return {?proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0}
58229
+ */
58230
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.prototype.getV0 = function() {
58231
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0} */ (
58232
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0, 1));
58233
+ };
58234
+
58235
+
58236
+ /**
58237
+ * @param {?proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0|undefined} value
58238
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse} returns this
58239
+ */
58240
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.prototype.setV0 = function(value) {
58241
+ return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.oneofGroups_[0], value);
58242
+ };
58243
+
58244
+
58245
+ /**
58246
+ * Clears the message field making it undefined.
58247
+ * @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse} returns this
58248
+ */
58249
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.prototype.clearV0 = function() {
58250
+ return this.setV0(undefined);
58251
+ };
58252
+
58253
+
58254
+ /**
58255
+ * Returns whether this field is set.
58256
+ * @return {boolean}
58257
+ */
58258
+ proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.prototype.hasV0 = function() {
58259
+ return jspb.Message.getField(this, 1) != null;
58260
+ };
58261
+
58262
+
58263
+
56680
58264
  /**
56681
58265
  * Oneof group definitions for this message. Each group defines the field
56682
58266
  * numbers belonging to that group. When of these fields' value is set, all