@dashevo/dapi-grpc 4.0.0-beta.4 → 4.0.0-rc.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.
@@ -31,15 +31,12 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.AllKeys', null, { proto });
31
31
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.BalanceAndNonce', null, { proto });
32
32
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges', null, { proto });
33
33
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.BlockHeightCreditEntry', null, { proto });
34
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.BlockNullifierChanges', null, { proto });
35
34
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.BroadcastStateTransitionRequest', null, { proto });
36
35
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.BroadcastStateTransitionResponse', null, { proto });
37
36
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.CompactedAddressBalanceChange', null, { proto });
38
37
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.CompactedAddressBalanceChange.OperationCase', null, { proto });
39
38
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries', null, { proto });
40
39
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges', null, { proto });
41
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges', null, { proto });
42
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries', null, { proto });
43
40
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressInfoRequest', null, { proto });
44
41
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0', null, { proto });
45
42
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.VersionCase', null, { proto });
@@ -426,18 +423,6 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetMostRecentShieldedAnchorRe
426
423
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetMostRecentShieldedAnchorResponse.GetMostRecentShieldedAnchorResponseV0', null, { proto });
427
424
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetMostRecentShieldedAnchorResponse.GetMostRecentShieldedAnchorResponseV0.ResultCase', null, { proto });
428
425
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetMostRecentShieldedAnchorResponse.VersionCase', null, { proto });
429
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest', null, { proto });
430
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0', null, { proto });
431
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.VersionCase', null, { proto });
432
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse', null, { proto });
433
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0', null, { proto });
434
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.VersionCase', null, { proto });
435
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest', null, { proto });
436
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0', null, { proto });
437
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.VersionCase', null, { proto });
438
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse', null, { proto });
439
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0', null, { proto });
440
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.VersionCase', null, { proto });
441
426
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetPathElementsRequest', null, { proto });
442
427
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetPathElementsRequest.GetPathElementsRequestV0', null, { proto });
443
428
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetPathElementsRequest.VersionCase', null, { proto });
@@ -485,20 +470,6 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBala
485
470
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0', null, { proto });
486
471
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.ResultCase', null, { proto });
487
472
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.VersionCase', null, { proto });
488
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest', null, { proto });
489
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0', null, { proto });
490
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.VersionCase', null, { proto });
491
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse', null, { proto });
492
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0', null, { proto });
493
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.ResultCase', null, { proto });
494
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.VersionCase', null, { proto });
495
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest', null, { proto });
496
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0', null, { proto });
497
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.VersionCase', null, { proto });
498
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse', null, { proto });
499
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0', null, { proto });
500
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.ResultCase', null, { proto });
501
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.VersionCase', null, { proto });
502
473
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetShieldedAnchorsRequest', null, { proto });
503
474
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetShieldedAnchorsRequest.GetShieldedAnchorsRequestV0', null, { proto });
504
475
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetShieldedAnchorsRequest.VersionCase', null, { proto });
@@ -634,7 +605,6 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetVotePollsByEndDateResponse
634
605
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.KeyPurpose', null, { proto });
635
606
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.KeyRequestType', null, { proto });
636
607
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.KeyRequestType.RequestCase', null, { proto });
637
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.NullifierUpdateEntries', null, { proto });
638
608
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.Proof', null, { proto });
639
609
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.ResponseMetadata', null, { proto });
640
610
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.SearchKey', null, { proto });
@@ -8923,426 +8893,6 @@ if (goog.DEBUG && !COMPILED) {
8923
8893
  */
8924
8894
  proto.org.dash.platform.dapi.v0.GetShieldedNullifiersResponse.GetShieldedNullifiersResponseV0.NullifierStatuses.displayName = 'proto.org.dash.platform.dapi.v0.GetShieldedNullifiersResponse.GetShieldedNullifiersResponseV0.NullifierStatuses';
8925
8895
  }
8926
- /**
8927
- * Generated by JsPbCodeGenerator.
8928
- * @param {Array=} opt_data Optional initial data array, typically from a
8929
- * server response, or constructed directly in Javascript. The array is used
8930
- * in place and becomes part of the constructed object. It is not cloned.
8931
- * If no data is provided, the constructed object will be empty, but still
8932
- * valid.
8933
- * @extends {jspb.Message}
8934
- * @constructor
8935
- */
8936
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest = function(opt_data) {
8937
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.oneofGroups_);
8938
- };
8939
- goog.inherits(proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest, jspb.Message);
8940
- if (goog.DEBUG && !COMPILED) {
8941
- /**
8942
- * @public
8943
- * @override
8944
- */
8945
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest';
8946
- }
8947
- /**
8948
- * Generated by JsPbCodeGenerator.
8949
- * @param {Array=} opt_data Optional initial data array, typically from a
8950
- * server response, or constructed directly in Javascript. The array is used
8951
- * in place and becomes part of the constructed object. It is not cloned.
8952
- * If no data is provided, the constructed object will be empty, but still
8953
- * valid.
8954
- * @extends {jspb.Message}
8955
- * @constructor
8956
- */
8957
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0 = function(opt_data) {
8958
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
8959
- };
8960
- goog.inherits(proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0, jspb.Message);
8961
- if (goog.DEBUG && !COMPILED) {
8962
- /**
8963
- * @public
8964
- * @override
8965
- */
8966
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0';
8967
- }
8968
- /**
8969
- * Generated by JsPbCodeGenerator.
8970
- * @param {Array=} opt_data Optional initial data array, typically from a
8971
- * server response, or constructed directly in Javascript. The array is used
8972
- * in place and becomes part of the constructed object. It is not cloned.
8973
- * If no data is provided, the constructed object will be empty, but still
8974
- * valid.
8975
- * @extends {jspb.Message}
8976
- * @constructor
8977
- */
8978
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse = function(opt_data) {
8979
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.oneofGroups_);
8980
- };
8981
- goog.inherits(proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse, jspb.Message);
8982
- if (goog.DEBUG && !COMPILED) {
8983
- /**
8984
- * @public
8985
- * @override
8986
- */
8987
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse';
8988
- }
8989
- /**
8990
- * Generated by JsPbCodeGenerator.
8991
- * @param {Array=} opt_data Optional initial data array, typically from a
8992
- * server response, or constructed directly in Javascript. The array is used
8993
- * in place and becomes part of the constructed object. It is not cloned.
8994
- * If no data is provided, the constructed object will be empty, but still
8995
- * valid.
8996
- * @extends {jspb.Message}
8997
- * @constructor
8998
- */
8999
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0 = function(opt_data) {
9000
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
9001
- };
9002
- goog.inherits(proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0, jspb.Message);
9003
- if (goog.DEBUG && !COMPILED) {
9004
- /**
9005
- * @public
9006
- * @override
9007
- */
9008
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0.displayName = 'proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0';
9009
- }
9010
- /**
9011
- * Generated by JsPbCodeGenerator.
9012
- * @param {Array=} opt_data Optional initial data array, typically from a
9013
- * server response, or constructed directly in Javascript. The array is used
9014
- * in place and becomes part of the constructed object. It is not cloned.
9015
- * If no data is provided, the constructed object will be empty, but still
9016
- * valid.
9017
- * @extends {jspb.Message}
9018
- * @constructor
9019
- */
9020
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest = function(opt_data) {
9021
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.oneofGroups_);
9022
- };
9023
- goog.inherits(proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest, jspb.Message);
9024
- if (goog.DEBUG && !COMPILED) {
9025
- /**
9026
- * @public
9027
- * @override
9028
- */
9029
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest';
9030
- }
9031
- /**
9032
- * Generated by JsPbCodeGenerator.
9033
- * @param {Array=} opt_data Optional initial data array, typically from a
9034
- * server response, or constructed directly in Javascript. The array is used
9035
- * in place and becomes part of the constructed object. It is not cloned.
9036
- * If no data is provided, the constructed object will be empty, but still
9037
- * valid.
9038
- * @extends {jspb.Message}
9039
- * @constructor
9040
- */
9041
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0 = function(opt_data) {
9042
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
9043
- };
9044
- goog.inherits(proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0, jspb.Message);
9045
- if (goog.DEBUG && !COMPILED) {
9046
- /**
9047
- * @public
9048
- * @override
9049
- */
9050
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0';
9051
- }
9052
- /**
9053
- * Generated by JsPbCodeGenerator.
9054
- * @param {Array=} opt_data Optional initial data array, typically from a
9055
- * server response, or constructed directly in Javascript. The array is used
9056
- * in place and becomes part of the constructed object. It is not cloned.
9057
- * If no data is provided, the constructed object will be empty, but still
9058
- * valid.
9059
- * @extends {jspb.Message}
9060
- * @constructor
9061
- */
9062
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse = function(opt_data) {
9063
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.oneofGroups_);
9064
- };
9065
- goog.inherits(proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse, jspb.Message);
9066
- if (goog.DEBUG && !COMPILED) {
9067
- /**
9068
- * @public
9069
- * @override
9070
- */
9071
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse';
9072
- }
9073
- /**
9074
- * Generated by JsPbCodeGenerator.
9075
- * @param {Array=} opt_data Optional initial data array, typically from a
9076
- * server response, or constructed directly in Javascript. The array is used
9077
- * in place and becomes part of the constructed object. It is not cloned.
9078
- * If no data is provided, the constructed object will be empty, but still
9079
- * valid.
9080
- * @extends {jspb.Message}
9081
- * @constructor
9082
- */
9083
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0 = function(opt_data) {
9084
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
9085
- };
9086
- goog.inherits(proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0, jspb.Message);
9087
- if (goog.DEBUG && !COMPILED) {
9088
- /**
9089
- * @public
9090
- * @override
9091
- */
9092
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0.displayName = 'proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0';
9093
- }
9094
- /**
9095
- * Generated by JsPbCodeGenerator.
9096
- * @param {Array=} opt_data Optional initial data array, typically from a
9097
- * server response, or constructed directly in Javascript. The array is used
9098
- * in place and becomes part of the constructed object. It is not cloned.
9099
- * If no data is provided, the constructed object will be empty, but still
9100
- * valid.
9101
- * @extends {jspb.Message}
9102
- * @constructor
9103
- */
9104
- proto.org.dash.platform.dapi.v0.BlockNullifierChanges = function(opt_data) {
9105
- jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.BlockNullifierChanges.repeatedFields_, null);
9106
- };
9107
- goog.inherits(proto.org.dash.platform.dapi.v0.BlockNullifierChanges, jspb.Message);
9108
- if (goog.DEBUG && !COMPILED) {
9109
- /**
9110
- * @public
9111
- * @override
9112
- */
9113
- proto.org.dash.platform.dapi.v0.BlockNullifierChanges.displayName = 'proto.org.dash.platform.dapi.v0.BlockNullifierChanges';
9114
- }
9115
- /**
9116
- * Generated by JsPbCodeGenerator.
9117
- * @param {Array=} opt_data Optional initial data array, typically from a
9118
- * server response, or constructed directly in Javascript. The array is used
9119
- * in place and becomes part of the constructed object. It is not cloned.
9120
- * If no data is provided, the constructed object will be empty, but still
9121
- * valid.
9122
- * @extends {jspb.Message}
9123
- * @constructor
9124
- */
9125
- proto.org.dash.platform.dapi.v0.NullifierUpdateEntries = function(opt_data) {
9126
- jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.NullifierUpdateEntries.repeatedFields_, null);
9127
- };
9128
- goog.inherits(proto.org.dash.platform.dapi.v0.NullifierUpdateEntries, jspb.Message);
9129
- if (goog.DEBUG && !COMPILED) {
9130
- /**
9131
- * @public
9132
- * @override
9133
- */
9134
- proto.org.dash.platform.dapi.v0.NullifierUpdateEntries.displayName = 'proto.org.dash.platform.dapi.v0.NullifierUpdateEntries';
9135
- }
9136
- /**
9137
- * Generated by JsPbCodeGenerator.
9138
- * @param {Array=} opt_data Optional initial data array, typically from a
9139
- * server response, or constructed directly in Javascript. The array is used
9140
- * in place and becomes part of the constructed object. It is not cloned.
9141
- * If no data is provided, the constructed object will be empty, but still
9142
- * valid.
9143
- * @extends {jspb.Message}
9144
- * @constructor
9145
- */
9146
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest = function(opt_data) {
9147
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.oneofGroups_);
9148
- };
9149
- goog.inherits(proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest, jspb.Message);
9150
- if (goog.DEBUG && !COMPILED) {
9151
- /**
9152
- * @public
9153
- * @override
9154
- */
9155
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest';
9156
- }
9157
- /**
9158
- * Generated by JsPbCodeGenerator.
9159
- * @param {Array=} opt_data Optional initial data array, typically from a
9160
- * server response, or constructed directly in Javascript. The array is used
9161
- * in place and becomes part of the constructed object. It is not cloned.
9162
- * If no data is provided, the constructed object will be empty, but still
9163
- * valid.
9164
- * @extends {jspb.Message}
9165
- * @constructor
9166
- */
9167
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0 = function(opt_data) {
9168
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
9169
- };
9170
- goog.inherits(proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0, jspb.Message);
9171
- if (goog.DEBUG && !COMPILED) {
9172
- /**
9173
- * @public
9174
- * @override
9175
- */
9176
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0';
9177
- }
9178
- /**
9179
- * Generated by JsPbCodeGenerator.
9180
- * @param {Array=} opt_data Optional initial data array, typically from a
9181
- * server response, or constructed directly in Javascript. The array is used
9182
- * in place and becomes part of the constructed object. It is not cloned.
9183
- * If no data is provided, the constructed object will be empty, but still
9184
- * valid.
9185
- * @extends {jspb.Message}
9186
- * @constructor
9187
- */
9188
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse = function(opt_data) {
9189
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.oneofGroups_);
9190
- };
9191
- goog.inherits(proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse, jspb.Message);
9192
- if (goog.DEBUG && !COMPILED) {
9193
- /**
9194
- * @public
9195
- * @override
9196
- */
9197
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse';
9198
- }
9199
- /**
9200
- * Generated by JsPbCodeGenerator.
9201
- * @param {Array=} opt_data Optional initial data array, typically from a
9202
- * server response, or constructed directly in Javascript. The array is used
9203
- * in place and becomes part of the constructed object. It is not cloned.
9204
- * If no data is provided, the constructed object will be empty, but still
9205
- * valid.
9206
- * @extends {jspb.Message}
9207
- * @constructor
9208
- */
9209
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0 = function(opt_data) {
9210
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.oneofGroups_);
9211
- };
9212
- goog.inherits(proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0, jspb.Message);
9213
- if (goog.DEBUG && !COMPILED) {
9214
- /**
9215
- * @public
9216
- * @override
9217
- */
9218
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.displayName = 'proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0';
9219
- }
9220
- /**
9221
- * Generated by JsPbCodeGenerator.
9222
- * @param {Array=} opt_data Optional initial data array, typically from a
9223
- * server response, or constructed directly in Javascript. The array is used
9224
- * in place and becomes part of the constructed object. It is not cloned.
9225
- * If no data is provided, the constructed object will be empty, but still
9226
- * valid.
9227
- * @extends {jspb.Message}
9228
- * @constructor
9229
- */
9230
- proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges = function(opt_data) {
9231
- jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges.repeatedFields_, null);
9232
- };
9233
- goog.inherits(proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges, jspb.Message);
9234
- if (goog.DEBUG && !COMPILED) {
9235
- /**
9236
- * @public
9237
- * @override
9238
- */
9239
- proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges.displayName = 'proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges';
9240
- }
9241
- /**
9242
- * Generated by JsPbCodeGenerator.
9243
- * @param {Array=} opt_data Optional initial data array, typically from a
9244
- * server response, or constructed directly in Javascript. The array is used
9245
- * in place and becomes part of the constructed object. It is not cloned.
9246
- * If no data is provided, the constructed object will be empty, but still
9247
- * valid.
9248
- * @extends {jspb.Message}
9249
- * @constructor
9250
- */
9251
- proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries = function(opt_data) {
9252
- jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries.repeatedFields_, null);
9253
- };
9254
- goog.inherits(proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries, jspb.Message);
9255
- if (goog.DEBUG && !COMPILED) {
9256
- /**
9257
- * @public
9258
- * @override
9259
- */
9260
- proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries.displayName = 'proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries';
9261
- }
9262
- /**
9263
- * Generated by JsPbCodeGenerator.
9264
- * @param {Array=} opt_data Optional initial data array, typically from a
9265
- * server response, or constructed directly in Javascript. The array is used
9266
- * in place and becomes part of the constructed object. It is not cloned.
9267
- * If no data is provided, the constructed object will be empty, but still
9268
- * valid.
9269
- * @extends {jspb.Message}
9270
- * @constructor
9271
- */
9272
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest = function(opt_data) {
9273
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.oneofGroups_);
9274
- };
9275
- goog.inherits(proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest, jspb.Message);
9276
- if (goog.DEBUG && !COMPILED) {
9277
- /**
9278
- * @public
9279
- * @override
9280
- */
9281
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest';
9282
- }
9283
- /**
9284
- * Generated by JsPbCodeGenerator.
9285
- * @param {Array=} opt_data Optional initial data array, typically from a
9286
- * server response, or constructed directly in Javascript. The array is used
9287
- * in place and becomes part of the constructed object. It is not cloned.
9288
- * If no data is provided, the constructed object will be empty, but still
9289
- * valid.
9290
- * @extends {jspb.Message}
9291
- * @constructor
9292
- */
9293
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0 = function(opt_data) {
9294
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
9295
- };
9296
- goog.inherits(proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0, jspb.Message);
9297
- if (goog.DEBUG && !COMPILED) {
9298
- /**
9299
- * @public
9300
- * @override
9301
- */
9302
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0';
9303
- }
9304
- /**
9305
- * Generated by JsPbCodeGenerator.
9306
- * @param {Array=} opt_data Optional initial data array, typically from a
9307
- * server response, or constructed directly in Javascript. The array is used
9308
- * in place and becomes part of the constructed object. It is not cloned.
9309
- * If no data is provided, the constructed object will be empty, but still
9310
- * valid.
9311
- * @extends {jspb.Message}
9312
- * @constructor
9313
- */
9314
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse = function(opt_data) {
9315
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.oneofGroups_);
9316
- };
9317
- goog.inherits(proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse, jspb.Message);
9318
- if (goog.DEBUG && !COMPILED) {
9319
- /**
9320
- * @public
9321
- * @override
9322
- */
9323
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse';
9324
- }
9325
- /**
9326
- * Generated by JsPbCodeGenerator.
9327
- * @param {Array=} opt_data Optional initial data array, typically from a
9328
- * server response, or constructed directly in Javascript. The array is used
9329
- * in place and becomes part of the constructed object. It is not cloned.
9330
- * If no data is provided, the constructed object will be empty, but still
9331
- * valid.
9332
- * @extends {jspb.Message}
9333
- * @constructor
9334
- */
9335
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0 = function(opt_data) {
9336
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.oneofGroups_);
9337
- };
9338
- goog.inherits(proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0, jspb.Message);
9339
- if (goog.DEBUG && !COMPILED) {
9340
- /**
9341
- * @public
9342
- * @override
9343
- */
9344
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.displayName = 'proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0';
9345
- }
9346
8896
 
9347
8897
 
9348
8898
 
@@ -94338,3900 +93888,6 @@ proto.org.dash.platform.dapi.v0.GetShieldedNullifiersResponse.prototype.hasV0 =
94338
93888
  };
94339
93889
 
94340
93890
 
94341
-
94342
- /**
94343
- * Oneof group definitions for this message. Each group defines the field
94344
- * numbers belonging to that group. When of these fields' value is set, all
94345
- * other fields in the group are cleared. During deserialization, if multiple
94346
- * fields are encountered for a group, only the last value seen will be kept.
94347
- * @private {!Array<!Array<number>>}
94348
- * @const
94349
- */
94350
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.oneofGroups_ = [[1]];
94351
-
94352
- /**
94353
- * @enum {number}
94354
- */
94355
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.VersionCase = {
94356
- VERSION_NOT_SET: 0,
94357
- V0: 1
94358
- };
94359
-
94360
- /**
94361
- * @return {proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.VersionCase}
94362
- */
94363
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.prototype.getVersionCase = function() {
94364
- return /** @type {proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.oneofGroups_[0]));
94365
- };
94366
-
94367
-
94368
-
94369
- if (jspb.Message.GENERATE_TO_OBJECT) {
94370
- /**
94371
- * Creates an object representation of this proto.
94372
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
94373
- * Optional fields that are not set will be set to undefined.
94374
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
94375
- * For the list of reserved names please see:
94376
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
94377
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
94378
- * JSPB instance for transitional soy proto support:
94379
- * http://goto/soy-param-migration
94380
- * @return {!Object}
94381
- */
94382
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.prototype.toObject = function(opt_includeInstance) {
94383
- return proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.toObject(opt_includeInstance, this);
94384
- };
94385
-
94386
-
94387
- /**
94388
- * Static version of the {@see toObject} method.
94389
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
94390
- * the JSPB instance for transitional soy proto support:
94391
- * http://goto/soy-param-migration
94392
- * @param {!proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest} msg The msg instance to transform.
94393
- * @return {!Object}
94394
- * @suppress {unusedLocalVariables} f is only used for nested messages
94395
- */
94396
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.toObject = function(includeInstance, msg) {
94397
- var f, obj = {
94398
- v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0.toObject(includeInstance, f)
94399
- };
94400
-
94401
- if (includeInstance) {
94402
- obj.$jspbMessageInstance = msg;
94403
- }
94404
- return obj;
94405
- };
94406
- }
94407
-
94408
-
94409
- /**
94410
- * Deserializes binary data (in protobuf wire format).
94411
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
94412
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest}
94413
- */
94414
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.deserializeBinary = function(bytes) {
94415
- var reader = new jspb.BinaryReader(bytes);
94416
- var msg = new proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest;
94417
- return proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.deserializeBinaryFromReader(msg, reader);
94418
- };
94419
-
94420
-
94421
- /**
94422
- * Deserializes binary data (in protobuf wire format) from the
94423
- * given reader into the given message object.
94424
- * @param {!proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest} msg The message object to deserialize into.
94425
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
94426
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest}
94427
- */
94428
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.deserializeBinaryFromReader = function(msg, reader) {
94429
- while (reader.nextField()) {
94430
- if (reader.isEndGroup()) {
94431
- break;
94432
- }
94433
- var field = reader.getFieldNumber();
94434
- switch (field) {
94435
- case 1:
94436
- var value = new proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0;
94437
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0.deserializeBinaryFromReader);
94438
- msg.setV0(value);
94439
- break;
94440
- default:
94441
- reader.skipField();
94442
- break;
94443
- }
94444
- }
94445
- return msg;
94446
- };
94447
-
94448
-
94449
- /**
94450
- * Serializes the message to binary data (in protobuf wire format).
94451
- * @return {!Uint8Array}
94452
- */
94453
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.prototype.serializeBinary = function() {
94454
- var writer = new jspb.BinaryWriter();
94455
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.serializeBinaryToWriter(this, writer);
94456
- return writer.getResultBuffer();
94457
- };
94458
-
94459
-
94460
- /**
94461
- * Serializes the given message to binary data (in protobuf wire
94462
- * format), writing to the given BinaryWriter.
94463
- * @param {!proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest} message
94464
- * @param {!jspb.BinaryWriter} writer
94465
- * @suppress {unusedLocalVariables} f is only used for nested messages
94466
- */
94467
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.serializeBinaryToWriter = function(message, writer) {
94468
- var f = undefined;
94469
- f = message.getV0();
94470
- if (f != null) {
94471
- writer.writeMessage(
94472
- 1,
94473
- f,
94474
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0.serializeBinaryToWriter
94475
- );
94476
- }
94477
- };
94478
-
94479
-
94480
-
94481
-
94482
-
94483
- if (jspb.Message.GENERATE_TO_OBJECT) {
94484
- /**
94485
- * Creates an object representation of this proto.
94486
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
94487
- * Optional fields that are not set will be set to undefined.
94488
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
94489
- * For the list of reserved names please see:
94490
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
94491
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
94492
- * JSPB instance for transitional soy proto support:
94493
- * http://goto/soy-param-migration
94494
- * @return {!Object}
94495
- */
94496
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0.prototype.toObject = function(opt_includeInstance) {
94497
- return proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0.toObject(opt_includeInstance, this);
94498
- };
94499
-
94500
-
94501
- /**
94502
- * Static version of the {@see toObject} method.
94503
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
94504
- * the JSPB instance for transitional soy proto support:
94505
- * http://goto/soy-param-migration
94506
- * @param {!proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0} msg The msg instance to transform.
94507
- * @return {!Object}
94508
- * @suppress {unusedLocalVariables} f is only used for nested messages
94509
- */
94510
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0.toObject = function(includeInstance, msg) {
94511
- var f, obj = {
94512
- poolType: jspb.Message.getFieldWithDefault(msg, 1, 0),
94513
- poolIdentifier: msg.getPoolIdentifier_asB64()
94514
- };
94515
-
94516
- if (includeInstance) {
94517
- obj.$jspbMessageInstance = msg;
94518
- }
94519
- return obj;
94520
- };
94521
- }
94522
-
94523
-
94524
- /**
94525
- * Deserializes binary data (in protobuf wire format).
94526
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
94527
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0}
94528
- */
94529
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0.deserializeBinary = function(bytes) {
94530
- var reader = new jspb.BinaryReader(bytes);
94531
- var msg = new proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0;
94532
- return proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0.deserializeBinaryFromReader(msg, reader);
94533
- };
94534
-
94535
-
94536
- /**
94537
- * Deserializes binary data (in protobuf wire format) from the
94538
- * given reader into the given message object.
94539
- * @param {!proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0} msg The message object to deserialize into.
94540
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
94541
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0}
94542
- */
94543
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0.deserializeBinaryFromReader = function(msg, reader) {
94544
- while (reader.nextField()) {
94545
- if (reader.isEndGroup()) {
94546
- break;
94547
- }
94548
- var field = reader.getFieldNumber();
94549
- switch (field) {
94550
- case 1:
94551
- var value = /** @type {number} */ (reader.readUint32());
94552
- msg.setPoolType(value);
94553
- break;
94554
- case 2:
94555
- var value = /** @type {!Uint8Array} */ (reader.readBytes());
94556
- msg.setPoolIdentifier(value);
94557
- break;
94558
- default:
94559
- reader.skipField();
94560
- break;
94561
- }
94562
- }
94563
- return msg;
94564
- };
94565
-
94566
-
94567
- /**
94568
- * Serializes the message to binary data (in protobuf wire format).
94569
- * @return {!Uint8Array}
94570
- */
94571
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0.prototype.serializeBinary = function() {
94572
- var writer = new jspb.BinaryWriter();
94573
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0.serializeBinaryToWriter(this, writer);
94574
- return writer.getResultBuffer();
94575
- };
94576
-
94577
-
94578
- /**
94579
- * Serializes the given message to binary data (in protobuf wire
94580
- * format), writing to the given BinaryWriter.
94581
- * @param {!proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0} message
94582
- * @param {!jspb.BinaryWriter} writer
94583
- * @suppress {unusedLocalVariables} f is only used for nested messages
94584
- */
94585
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0.serializeBinaryToWriter = function(message, writer) {
94586
- var f = undefined;
94587
- f = message.getPoolType();
94588
- if (f !== 0) {
94589
- writer.writeUint32(
94590
- 1,
94591
- f
94592
- );
94593
- }
94594
- f = message.getPoolIdentifier_asU8();
94595
- if (f.length > 0) {
94596
- writer.writeBytes(
94597
- 2,
94598
- f
94599
- );
94600
- }
94601
- };
94602
-
94603
-
94604
- /**
94605
- * optional uint32 pool_type = 1;
94606
- * @return {number}
94607
- */
94608
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0.prototype.getPoolType = function() {
94609
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
94610
- };
94611
-
94612
-
94613
- /**
94614
- * @param {number} value
94615
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0} returns this
94616
- */
94617
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0.prototype.setPoolType = function(value) {
94618
- return jspb.Message.setProto3IntField(this, 1, value);
94619
- };
94620
-
94621
-
94622
- /**
94623
- * optional bytes pool_identifier = 2;
94624
- * @return {string}
94625
- */
94626
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0.prototype.getPoolIdentifier = function() {
94627
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
94628
- };
94629
-
94630
-
94631
- /**
94632
- * optional bytes pool_identifier = 2;
94633
- * This is a type-conversion wrapper around `getPoolIdentifier()`
94634
- * @return {string}
94635
- */
94636
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0.prototype.getPoolIdentifier_asB64 = function() {
94637
- return /** @type {string} */ (jspb.Message.bytesAsB64(
94638
- this.getPoolIdentifier()));
94639
- };
94640
-
94641
-
94642
- /**
94643
- * optional bytes pool_identifier = 2;
94644
- * Note that Uint8Array is not supported on all browsers.
94645
- * @see http://caniuse.com/Uint8Array
94646
- * This is a type-conversion wrapper around `getPoolIdentifier()`
94647
- * @return {!Uint8Array}
94648
- */
94649
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0.prototype.getPoolIdentifier_asU8 = function() {
94650
- return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
94651
- this.getPoolIdentifier()));
94652
- };
94653
-
94654
-
94655
- /**
94656
- * @param {!(string|Uint8Array)} value
94657
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0} returns this
94658
- */
94659
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0.prototype.setPoolIdentifier = function(value) {
94660
- return jspb.Message.setProto3BytesField(this, 2, value);
94661
- };
94662
-
94663
-
94664
- /**
94665
- * optional GetNullifiersTrunkStateRequestV0 v0 = 1;
94666
- * @return {?proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0}
94667
- */
94668
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.prototype.getV0 = function() {
94669
- return /** @type{?proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0} */ (
94670
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0, 1));
94671
- };
94672
-
94673
-
94674
- /**
94675
- * @param {?proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0|undefined} value
94676
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest} returns this
94677
- */
94678
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.prototype.setV0 = function(value) {
94679
- return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.oneofGroups_[0], value);
94680
- };
94681
-
94682
-
94683
- /**
94684
- * Clears the message field making it undefined.
94685
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest} returns this
94686
- */
94687
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.prototype.clearV0 = function() {
94688
- return this.setV0(undefined);
94689
- };
94690
-
94691
-
94692
- /**
94693
- * Returns whether this field is set.
94694
- * @return {boolean}
94695
- */
94696
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.prototype.hasV0 = function() {
94697
- return jspb.Message.getField(this, 1) != null;
94698
- };
94699
-
94700
-
94701
-
94702
- /**
94703
- * Oneof group definitions for this message. Each group defines the field
94704
- * numbers belonging to that group. When of these fields' value is set, all
94705
- * other fields in the group are cleared. During deserialization, if multiple
94706
- * fields are encountered for a group, only the last value seen will be kept.
94707
- * @private {!Array<!Array<number>>}
94708
- * @const
94709
- */
94710
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.oneofGroups_ = [[1]];
94711
-
94712
- /**
94713
- * @enum {number}
94714
- */
94715
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.VersionCase = {
94716
- VERSION_NOT_SET: 0,
94717
- V0: 1
94718
- };
94719
-
94720
- /**
94721
- * @return {proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.VersionCase}
94722
- */
94723
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.prototype.getVersionCase = function() {
94724
- return /** @type {proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.oneofGroups_[0]));
94725
- };
94726
-
94727
-
94728
-
94729
- if (jspb.Message.GENERATE_TO_OBJECT) {
94730
- /**
94731
- * Creates an object representation of this proto.
94732
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
94733
- * Optional fields that are not set will be set to undefined.
94734
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
94735
- * For the list of reserved names please see:
94736
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
94737
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
94738
- * JSPB instance for transitional soy proto support:
94739
- * http://goto/soy-param-migration
94740
- * @return {!Object}
94741
- */
94742
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.prototype.toObject = function(opt_includeInstance) {
94743
- return proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.toObject(opt_includeInstance, this);
94744
- };
94745
-
94746
-
94747
- /**
94748
- * Static version of the {@see toObject} method.
94749
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
94750
- * the JSPB instance for transitional soy proto support:
94751
- * http://goto/soy-param-migration
94752
- * @param {!proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse} msg The msg instance to transform.
94753
- * @return {!Object}
94754
- * @suppress {unusedLocalVariables} f is only used for nested messages
94755
- */
94756
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.toObject = function(includeInstance, msg) {
94757
- var f, obj = {
94758
- v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0.toObject(includeInstance, f)
94759
- };
94760
-
94761
- if (includeInstance) {
94762
- obj.$jspbMessageInstance = msg;
94763
- }
94764
- return obj;
94765
- };
94766
- }
94767
-
94768
-
94769
- /**
94770
- * Deserializes binary data (in protobuf wire format).
94771
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
94772
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse}
94773
- */
94774
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.deserializeBinary = function(bytes) {
94775
- var reader = new jspb.BinaryReader(bytes);
94776
- var msg = new proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse;
94777
- return proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.deserializeBinaryFromReader(msg, reader);
94778
- };
94779
-
94780
-
94781
- /**
94782
- * Deserializes binary data (in protobuf wire format) from the
94783
- * given reader into the given message object.
94784
- * @param {!proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse} msg The message object to deserialize into.
94785
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
94786
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse}
94787
- */
94788
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.deserializeBinaryFromReader = function(msg, reader) {
94789
- while (reader.nextField()) {
94790
- if (reader.isEndGroup()) {
94791
- break;
94792
- }
94793
- var field = reader.getFieldNumber();
94794
- switch (field) {
94795
- case 1:
94796
- var value = new proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0;
94797
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0.deserializeBinaryFromReader);
94798
- msg.setV0(value);
94799
- break;
94800
- default:
94801
- reader.skipField();
94802
- break;
94803
- }
94804
- }
94805
- return msg;
94806
- };
94807
-
94808
-
94809
- /**
94810
- * Serializes the message to binary data (in protobuf wire format).
94811
- * @return {!Uint8Array}
94812
- */
94813
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.prototype.serializeBinary = function() {
94814
- var writer = new jspb.BinaryWriter();
94815
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.serializeBinaryToWriter(this, writer);
94816
- return writer.getResultBuffer();
94817
- };
94818
-
94819
-
94820
- /**
94821
- * Serializes the given message to binary data (in protobuf wire
94822
- * format), writing to the given BinaryWriter.
94823
- * @param {!proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse} message
94824
- * @param {!jspb.BinaryWriter} writer
94825
- * @suppress {unusedLocalVariables} f is only used for nested messages
94826
- */
94827
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.serializeBinaryToWriter = function(message, writer) {
94828
- var f = undefined;
94829
- f = message.getV0();
94830
- if (f != null) {
94831
- writer.writeMessage(
94832
- 1,
94833
- f,
94834
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0.serializeBinaryToWriter
94835
- );
94836
- }
94837
- };
94838
-
94839
-
94840
-
94841
-
94842
-
94843
- if (jspb.Message.GENERATE_TO_OBJECT) {
94844
- /**
94845
- * Creates an object representation of this proto.
94846
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
94847
- * Optional fields that are not set will be set to undefined.
94848
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
94849
- * For the list of reserved names please see:
94850
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
94851
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
94852
- * JSPB instance for transitional soy proto support:
94853
- * http://goto/soy-param-migration
94854
- * @return {!Object}
94855
- */
94856
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0.prototype.toObject = function(opt_includeInstance) {
94857
- return proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0.toObject(opt_includeInstance, this);
94858
- };
94859
-
94860
-
94861
- /**
94862
- * Static version of the {@see toObject} method.
94863
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
94864
- * the JSPB instance for transitional soy proto support:
94865
- * http://goto/soy-param-migration
94866
- * @param {!proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0} msg The msg instance to transform.
94867
- * @return {!Object}
94868
- * @suppress {unusedLocalVariables} f is only used for nested messages
94869
- */
94870
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0.toObject = function(includeInstance, msg) {
94871
- var f, obj = {
94872
- proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
94873
- metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
94874
- };
94875
-
94876
- if (includeInstance) {
94877
- obj.$jspbMessageInstance = msg;
94878
- }
94879
- return obj;
94880
- };
94881
- }
94882
-
94883
-
94884
- /**
94885
- * Deserializes binary data (in protobuf wire format).
94886
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
94887
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0}
94888
- */
94889
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0.deserializeBinary = function(bytes) {
94890
- var reader = new jspb.BinaryReader(bytes);
94891
- var msg = new proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0;
94892
- return proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0.deserializeBinaryFromReader(msg, reader);
94893
- };
94894
-
94895
-
94896
- /**
94897
- * Deserializes binary data (in protobuf wire format) from the
94898
- * given reader into the given message object.
94899
- * @param {!proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0} msg The message object to deserialize into.
94900
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
94901
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0}
94902
- */
94903
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0.deserializeBinaryFromReader = function(msg, reader) {
94904
- while (reader.nextField()) {
94905
- if (reader.isEndGroup()) {
94906
- break;
94907
- }
94908
- var field = reader.getFieldNumber();
94909
- switch (field) {
94910
- case 2:
94911
- var value = new proto.org.dash.platform.dapi.v0.Proof;
94912
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
94913
- msg.setProof(value);
94914
- break;
94915
- case 3:
94916
- var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
94917
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
94918
- msg.setMetadata(value);
94919
- break;
94920
- default:
94921
- reader.skipField();
94922
- break;
94923
- }
94924
- }
94925
- return msg;
94926
- };
94927
-
94928
-
94929
- /**
94930
- * Serializes the message to binary data (in protobuf wire format).
94931
- * @return {!Uint8Array}
94932
- */
94933
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0.prototype.serializeBinary = function() {
94934
- var writer = new jspb.BinaryWriter();
94935
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0.serializeBinaryToWriter(this, writer);
94936
- return writer.getResultBuffer();
94937
- };
94938
-
94939
-
94940
- /**
94941
- * Serializes the given message to binary data (in protobuf wire
94942
- * format), writing to the given BinaryWriter.
94943
- * @param {!proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0} message
94944
- * @param {!jspb.BinaryWriter} writer
94945
- * @suppress {unusedLocalVariables} f is only used for nested messages
94946
- */
94947
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0.serializeBinaryToWriter = function(message, writer) {
94948
- var f = undefined;
94949
- f = message.getProof();
94950
- if (f != null) {
94951
- writer.writeMessage(
94952
- 2,
94953
- f,
94954
- proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
94955
- );
94956
- }
94957
- f = message.getMetadata();
94958
- if (f != null) {
94959
- writer.writeMessage(
94960
- 3,
94961
- f,
94962
- proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
94963
- );
94964
- }
94965
- };
94966
-
94967
-
94968
- /**
94969
- * optional Proof proof = 2;
94970
- * @return {?proto.org.dash.platform.dapi.v0.Proof}
94971
- */
94972
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0.prototype.getProof = function() {
94973
- return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ (
94974
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
94975
- };
94976
-
94977
-
94978
- /**
94979
- * @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value
94980
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0} returns this
94981
- */
94982
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0.prototype.setProof = function(value) {
94983
- return jspb.Message.setWrapperField(this, 2, value);
94984
- };
94985
-
94986
-
94987
- /**
94988
- * Clears the message field making it undefined.
94989
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0} returns this
94990
- */
94991
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0.prototype.clearProof = function() {
94992
- return this.setProof(undefined);
94993
- };
94994
-
94995
-
94996
- /**
94997
- * Returns whether this field is set.
94998
- * @return {boolean}
94999
- */
95000
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0.prototype.hasProof = function() {
95001
- return jspb.Message.getField(this, 2) != null;
95002
- };
95003
-
95004
-
95005
- /**
95006
- * optional ResponseMetadata metadata = 3;
95007
- * @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata}
95008
- */
95009
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0.prototype.getMetadata = function() {
95010
- return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ (
95011
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3));
95012
- };
95013
-
95014
-
95015
- /**
95016
- * @param {?proto.org.dash.platform.dapi.v0.ResponseMetadata|undefined} value
95017
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0} returns this
95018
- */
95019
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0.prototype.setMetadata = function(value) {
95020
- return jspb.Message.setWrapperField(this, 3, value);
95021
- };
95022
-
95023
-
95024
- /**
95025
- * Clears the message field making it undefined.
95026
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0} returns this
95027
- */
95028
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0.prototype.clearMetadata = function() {
95029
- return this.setMetadata(undefined);
95030
- };
95031
-
95032
-
95033
- /**
95034
- * Returns whether this field is set.
95035
- * @return {boolean}
95036
- */
95037
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0.prototype.hasMetadata = function() {
95038
- return jspb.Message.getField(this, 3) != null;
95039
- };
95040
-
95041
-
95042
- /**
95043
- * optional GetNullifiersTrunkStateResponseV0 v0 = 1;
95044
- * @return {?proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0}
95045
- */
95046
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.prototype.getV0 = function() {
95047
- return /** @type{?proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0} */ (
95048
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0, 1));
95049
- };
95050
-
95051
-
95052
- /**
95053
- * @param {?proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0|undefined} value
95054
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse} returns this
95055
- */
95056
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.prototype.setV0 = function(value) {
95057
- return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.oneofGroups_[0], value);
95058
- };
95059
-
95060
-
95061
- /**
95062
- * Clears the message field making it undefined.
95063
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse} returns this
95064
- */
95065
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.prototype.clearV0 = function() {
95066
- return this.setV0(undefined);
95067
- };
95068
-
95069
-
95070
- /**
95071
- * Returns whether this field is set.
95072
- * @return {boolean}
95073
- */
95074
- proto.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.prototype.hasV0 = function() {
95075
- return jspb.Message.getField(this, 1) != null;
95076
- };
95077
-
95078
-
95079
-
95080
- /**
95081
- * Oneof group definitions for this message. Each group defines the field
95082
- * numbers belonging to that group. When of these fields' value is set, all
95083
- * other fields in the group are cleared. During deserialization, if multiple
95084
- * fields are encountered for a group, only the last value seen will be kept.
95085
- * @private {!Array<!Array<number>>}
95086
- * @const
95087
- */
95088
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.oneofGroups_ = [[1]];
95089
-
95090
- /**
95091
- * @enum {number}
95092
- */
95093
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.VersionCase = {
95094
- VERSION_NOT_SET: 0,
95095
- V0: 1
95096
- };
95097
-
95098
- /**
95099
- * @return {proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.VersionCase}
95100
- */
95101
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.prototype.getVersionCase = function() {
95102
- return /** @type {proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.oneofGroups_[0]));
95103
- };
95104
-
95105
-
95106
-
95107
- if (jspb.Message.GENERATE_TO_OBJECT) {
95108
- /**
95109
- * Creates an object representation of this proto.
95110
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
95111
- * Optional fields that are not set will be set to undefined.
95112
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
95113
- * For the list of reserved names please see:
95114
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
95115
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
95116
- * JSPB instance for transitional soy proto support:
95117
- * http://goto/soy-param-migration
95118
- * @return {!Object}
95119
- */
95120
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.prototype.toObject = function(opt_includeInstance) {
95121
- return proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.toObject(opt_includeInstance, this);
95122
- };
95123
-
95124
-
95125
- /**
95126
- * Static version of the {@see toObject} method.
95127
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
95128
- * the JSPB instance for transitional soy proto support:
95129
- * http://goto/soy-param-migration
95130
- * @param {!proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest} msg The msg instance to transform.
95131
- * @return {!Object}
95132
- * @suppress {unusedLocalVariables} f is only used for nested messages
95133
- */
95134
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.toObject = function(includeInstance, msg) {
95135
- var f, obj = {
95136
- v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0.toObject(includeInstance, f)
95137
- };
95138
-
95139
- if (includeInstance) {
95140
- obj.$jspbMessageInstance = msg;
95141
- }
95142
- return obj;
95143
- };
95144
- }
95145
-
95146
-
95147
- /**
95148
- * Deserializes binary data (in protobuf wire format).
95149
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
95150
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest}
95151
- */
95152
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.deserializeBinary = function(bytes) {
95153
- var reader = new jspb.BinaryReader(bytes);
95154
- var msg = new proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest;
95155
- return proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.deserializeBinaryFromReader(msg, reader);
95156
- };
95157
-
95158
-
95159
- /**
95160
- * Deserializes binary data (in protobuf wire format) from the
95161
- * given reader into the given message object.
95162
- * @param {!proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest} msg The message object to deserialize into.
95163
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
95164
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest}
95165
- */
95166
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.deserializeBinaryFromReader = function(msg, reader) {
95167
- while (reader.nextField()) {
95168
- if (reader.isEndGroup()) {
95169
- break;
95170
- }
95171
- var field = reader.getFieldNumber();
95172
- switch (field) {
95173
- case 1:
95174
- var value = new proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0;
95175
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0.deserializeBinaryFromReader);
95176
- msg.setV0(value);
95177
- break;
95178
- default:
95179
- reader.skipField();
95180
- break;
95181
- }
95182
- }
95183
- return msg;
95184
- };
95185
-
95186
-
95187
- /**
95188
- * Serializes the message to binary data (in protobuf wire format).
95189
- * @return {!Uint8Array}
95190
- */
95191
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.prototype.serializeBinary = function() {
95192
- var writer = new jspb.BinaryWriter();
95193
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.serializeBinaryToWriter(this, writer);
95194
- return writer.getResultBuffer();
95195
- };
95196
-
95197
-
95198
- /**
95199
- * Serializes the given message to binary data (in protobuf wire
95200
- * format), writing to the given BinaryWriter.
95201
- * @param {!proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest} message
95202
- * @param {!jspb.BinaryWriter} writer
95203
- * @suppress {unusedLocalVariables} f is only used for nested messages
95204
- */
95205
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.serializeBinaryToWriter = function(message, writer) {
95206
- var f = undefined;
95207
- f = message.getV0();
95208
- if (f != null) {
95209
- writer.writeMessage(
95210
- 1,
95211
- f,
95212
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0.serializeBinaryToWriter
95213
- );
95214
- }
95215
- };
95216
-
95217
-
95218
-
95219
-
95220
-
95221
- if (jspb.Message.GENERATE_TO_OBJECT) {
95222
- /**
95223
- * Creates an object representation of this proto.
95224
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
95225
- * Optional fields that are not set will be set to undefined.
95226
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
95227
- * For the list of reserved names please see:
95228
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
95229
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
95230
- * JSPB instance for transitional soy proto support:
95231
- * http://goto/soy-param-migration
95232
- * @return {!Object}
95233
- */
95234
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0.prototype.toObject = function(opt_includeInstance) {
95235
- return proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0.toObject(opt_includeInstance, this);
95236
- };
95237
-
95238
-
95239
- /**
95240
- * Static version of the {@see toObject} method.
95241
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
95242
- * the JSPB instance for transitional soy proto support:
95243
- * http://goto/soy-param-migration
95244
- * @param {!proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0} msg The msg instance to transform.
95245
- * @return {!Object}
95246
- * @suppress {unusedLocalVariables} f is only used for nested messages
95247
- */
95248
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0.toObject = function(includeInstance, msg) {
95249
- var f, obj = {
95250
- poolType: jspb.Message.getFieldWithDefault(msg, 1, 0),
95251
- poolIdentifier: msg.getPoolIdentifier_asB64(),
95252
- key: msg.getKey_asB64(),
95253
- depth: jspb.Message.getFieldWithDefault(msg, 4, 0),
95254
- checkpointHeight: jspb.Message.getFieldWithDefault(msg, 5, 0)
95255
- };
95256
-
95257
- if (includeInstance) {
95258
- obj.$jspbMessageInstance = msg;
95259
- }
95260
- return obj;
95261
- };
95262
- }
95263
-
95264
-
95265
- /**
95266
- * Deserializes binary data (in protobuf wire format).
95267
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
95268
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0}
95269
- */
95270
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0.deserializeBinary = function(bytes) {
95271
- var reader = new jspb.BinaryReader(bytes);
95272
- var msg = new proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0;
95273
- return proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0.deserializeBinaryFromReader(msg, reader);
95274
- };
95275
-
95276
-
95277
- /**
95278
- * Deserializes binary data (in protobuf wire format) from the
95279
- * given reader into the given message object.
95280
- * @param {!proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0} msg The message object to deserialize into.
95281
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
95282
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0}
95283
- */
95284
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0.deserializeBinaryFromReader = function(msg, reader) {
95285
- while (reader.nextField()) {
95286
- if (reader.isEndGroup()) {
95287
- break;
95288
- }
95289
- var field = reader.getFieldNumber();
95290
- switch (field) {
95291
- case 1:
95292
- var value = /** @type {number} */ (reader.readUint32());
95293
- msg.setPoolType(value);
95294
- break;
95295
- case 2:
95296
- var value = /** @type {!Uint8Array} */ (reader.readBytes());
95297
- msg.setPoolIdentifier(value);
95298
- break;
95299
- case 3:
95300
- var value = /** @type {!Uint8Array} */ (reader.readBytes());
95301
- msg.setKey(value);
95302
- break;
95303
- case 4:
95304
- var value = /** @type {number} */ (reader.readUint32());
95305
- msg.setDepth(value);
95306
- break;
95307
- case 5:
95308
- var value = /** @type {number} */ (reader.readUint64());
95309
- msg.setCheckpointHeight(value);
95310
- break;
95311
- default:
95312
- reader.skipField();
95313
- break;
95314
- }
95315
- }
95316
- return msg;
95317
- };
95318
-
95319
-
95320
- /**
95321
- * Serializes the message to binary data (in protobuf wire format).
95322
- * @return {!Uint8Array}
95323
- */
95324
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0.prototype.serializeBinary = function() {
95325
- var writer = new jspb.BinaryWriter();
95326
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0.serializeBinaryToWriter(this, writer);
95327
- return writer.getResultBuffer();
95328
- };
95329
-
95330
-
95331
- /**
95332
- * Serializes the given message to binary data (in protobuf wire
95333
- * format), writing to the given BinaryWriter.
95334
- * @param {!proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0} message
95335
- * @param {!jspb.BinaryWriter} writer
95336
- * @suppress {unusedLocalVariables} f is only used for nested messages
95337
- */
95338
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0.serializeBinaryToWriter = function(message, writer) {
95339
- var f = undefined;
95340
- f = message.getPoolType();
95341
- if (f !== 0) {
95342
- writer.writeUint32(
95343
- 1,
95344
- f
95345
- );
95346
- }
95347
- f = message.getPoolIdentifier_asU8();
95348
- if (f.length > 0) {
95349
- writer.writeBytes(
95350
- 2,
95351
- f
95352
- );
95353
- }
95354
- f = message.getKey_asU8();
95355
- if (f.length > 0) {
95356
- writer.writeBytes(
95357
- 3,
95358
- f
95359
- );
95360
- }
95361
- f = message.getDepth();
95362
- if (f !== 0) {
95363
- writer.writeUint32(
95364
- 4,
95365
- f
95366
- );
95367
- }
95368
- f = message.getCheckpointHeight();
95369
- if (f !== 0) {
95370
- writer.writeUint64(
95371
- 5,
95372
- f
95373
- );
95374
- }
95375
- };
95376
-
95377
-
95378
- /**
95379
- * optional uint32 pool_type = 1;
95380
- * @return {number}
95381
- */
95382
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0.prototype.getPoolType = function() {
95383
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
95384
- };
95385
-
95386
-
95387
- /**
95388
- * @param {number} value
95389
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0} returns this
95390
- */
95391
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0.prototype.setPoolType = function(value) {
95392
- return jspb.Message.setProto3IntField(this, 1, value);
95393
- };
95394
-
95395
-
95396
- /**
95397
- * optional bytes pool_identifier = 2;
95398
- * @return {string}
95399
- */
95400
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0.prototype.getPoolIdentifier = function() {
95401
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
95402
- };
95403
-
95404
-
95405
- /**
95406
- * optional bytes pool_identifier = 2;
95407
- * This is a type-conversion wrapper around `getPoolIdentifier()`
95408
- * @return {string}
95409
- */
95410
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0.prototype.getPoolIdentifier_asB64 = function() {
95411
- return /** @type {string} */ (jspb.Message.bytesAsB64(
95412
- this.getPoolIdentifier()));
95413
- };
95414
-
95415
-
95416
- /**
95417
- * optional bytes pool_identifier = 2;
95418
- * Note that Uint8Array is not supported on all browsers.
95419
- * @see http://caniuse.com/Uint8Array
95420
- * This is a type-conversion wrapper around `getPoolIdentifier()`
95421
- * @return {!Uint8Array}
95422
- */
95423
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0.prototype.getPoolIdentifier_asU8 = function() {
95424
- return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
95425
- this.getPoolIdentifier()));
95426
- };
95427
-
95428
-
95429
- /**
95430
- * @param {!(string|Uint8Array)} value
95431
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0} returns this
95432
- */
95433
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0.prototype.setPoolIdentifier = function(value) {
95434
- return jspb.Message.setProto3BytesField(this, 2, value);
95435
- };
95436
-
95437
-
95438
- /**
95439
- * optional bytes key = 3;
95440
- * @return {string}
95441
- */
95442
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0.prototype.getKey = function() {
95443
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
95444
- };
95445
-
95446
-
95447
- /**
95448
- * optional bytes key = 3;
95449
- * This is a type-conversion wrapper around `getKey()`
95450
- * @return {string}
95451
- */
95452
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0.prototype.getKey_asB64 = function() {
95453
- return /** @type {string} */ (jspb.Message.bytesAsB64(
95454
- this.getKey()));
95455
- };
95456
-
95457
-
95458
- /**
95459
- * optional bytes key = 3;
95460
- * Note that Uint8Array is not supported on all browsers.
95461
- * @see http://caniuse.com/Uint8Array
95462
- * This is a type-conversion wrapper around `getKey()`
95463
- * @return {!Uint8Array}
95464
- */
95465
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0.prototype.getKey_asU8 = function() {
95466
- return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
95467
- this.getKey()));
95468
- };
95469
-
95470
-
95471
- /**
95472
- * @param {!(string|Uint8Array)} value
95473
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0} returns this
95474
- */
95475
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0.prototype.setKey = function(value) {
95476
- return jspb.Message.setProto3BytesField(this, 3, value);
95477
- };
95478
-
95479
-
95480
- /**
95481
- * optional uint32 depth = 4;
95482
- * @return {number}
95483
- */
95484
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0.prototype.getDepth = function() {
95485
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
95486
- };
95487
-
95488
-
95489
- /**
95490
- * @param {number} value
95491
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0} returns this
95492
- */
95493
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0.prototype.setDepth = function(value) {
95494
- return jspb.Message.setProto3IntField(this, 4, value);
95495
- };
95496
-
95497
-
95498
- /**
95499
- * optional uint64 checkpoint_height = 5;
95500
- * @return {number}
95501
- */
95502
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0.prototype.getCheckpointHeight = function() {
95503
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
95504
- };
95505
-
95506
-
95507
- /**
95508
- * @param {number} value
95509
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0} returns this
95510
- */
95511
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0.prototype.setCheckpointHeight = function(value) {
95512
- return jspb.Message.setProto3IntField(this, 5, value);
95513
- };
95514
-
95515
-
95516
- /**
95517
- * optional GetNullifiersBranchStateRequestV0 v0 = 1;
95518
- * @return {?proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0}
95519
- */
95520
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.prototype.getV0 = function() {
95521
- return /** @type{?proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0} */ (
95522
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0, 1));
95523
- };
95524
-
95525
-
95526
- /**
95527
- * @param {?proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0|undefined} value
95528
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest} returns this
95529
- */
95530
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.prototype.setV0 = function(value) {
95531
- return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.oneofGroups_[0], value);
95532
- };
95533
-
95534
-
95535
- /**
95536
- * Clears the message field making it undefined.
95537
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest} returns this
95538
- */
95539
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.prototype.clearV0 = function() {
95540
- return this.setV0(undefined);
95541
- };
95542
-
95543
-
95544
- /**
95545
- * Returns whether this field is set.
95546
- * @return {boolean}
95547
- */
95548
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.prototype.hasV0 = function() {
95549
- return jspb.Message.getField(this, 1) != null;
95550
- };
95551
-
95552
-
95553
-
95554
- /**
95555
- * Oneof group definitions for this message. Each group defines the field
95556
- * numbers belonging to that group. When of these fields' value is set, all
95557
- * other fields in the group are cleared. During deserialization, if multiple
95558
- * fields are encountered for a group, only the last value seen will be kept.
95559
- * @private {!Array<!Array<number>>}
95560
- * @const
95561
- */
95562
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.oneofGroups_ = [[1]];
95563
-
95564
- /**
95565
- * @enum {number}
95566
- */
95567
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.VersionCase = {
95568
- VERSION_NOT_SET: 0,
95569
- V0: 1
95570
- };
95571
-
95572
- /**
95573
- * @return {proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.VersionCase}
95574
- */
95575
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.prototype.getVersionCase = function() {
95576
- return /** @type {proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.oneofGroups_[0]));
95577
- };
95578
-
95579
-
95580
-
95581
- if (jspb.Message.GENERATE_TO_OBJECT) {
95582
- /**
95583
- * Creates an object representation of this proto.
95584
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
95585
- * Optional fields that are not set will be set to undefined.
95586
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
95587
- * For the list of reserved names please see:
95588
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
95589
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
95590
- * JSPB instance for transitional soy proto support:
95591
- * http://goto/soy-param-migration
95592
- * @return {!Object}
95593
- */
95594
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.prototype.toObject = function(opt_includeInstance) {
95595
- return proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.toObject(opt_includeInstance, this);
95596
- };
95597
-
95598
-
95599
- /**
95600
- * Static version of the {@see toObject} method.
95601
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
95602
- * the JSPB instance for transitional soy proto support:
95603
- * http://goto/soy-param-migration
95604
- * @param {!proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse} msg The msg instance to transform.
95605
- * @return {!Object}
95606
- * @suppress {unusedLocalVariables} f is only used for nested messages
95607
- */
95608
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.toObject = function(includeInstance, msg) {
95609
- var f, obj = {
95610
- v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0.toObject(includeInstance, f)
95611
- };
95612
-
95613
- if (includeInstance) {
95614
- obj.$jspbMessageInstance = msg;
95615
- }
95616
- return obj;
95617
- };
95618
- }
95619
-
95620
-
95621
- /**
95622
- * Deserializes binary data (in protobuf wire format).
95623
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
95624
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse}
95625
- */
95626
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.deserializeBinary = function(bytes) {
95627
- var reader = new jspb.BinaryReader(bytes);
95628
- var msg = new proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse;
95629
- return proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.deserializeBinaryFromReader(msg, reader);
95630
- };
95631
-
95632
-
95633
- /**
95634
- * Deserializes binary data (in protobuf wire format) from the
95635
- * given reader into the given message object.
95636
- * @param {!proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse} msg The message object to deserialize into.
95637
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
95638
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse}
95639
- */
95640
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.deserializeBinaryFromReader = function(msg, reader) {
95641
- while (reader.nextField()) {
95642
- if (reader.isEndGroup()) {
95643
- break;
95644
- }
95645
- var field = reader.getFieldNumber();
95646
- switch (field) {
95647
- case 1:
95648
- var value = new proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0;
95649
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0.deserializeBinaryFromReader);
95650
- msg.setV0(value);
95651
- break;
95652
- default:
95653
- reader.skipField();
95654
- break;
95655
- }
95656
- }
95657
- return msg;
95658
- };
95659
-
95660
-
95661
- /**
95662
- * Serializes the message to binary data (in protobuf wire format).
95663
- * @return {!Uint8Array}
95664
- */
95665
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.prototype.serializeBinary = function() {
95666
- var writer = new jspb.BinaryWriter();
95667
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.serializeBinaryToWriter(this, writer);
95668
- return writer.getResultBuffer();
95669
- };
95670
-
95671
-
95672
- /**
95673
- * Serializes the given message to binary data (in protobuf wire
95674
- * format), writing to the given BinaryWriter.
95675
- * @param {!proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse} message
95676
- * @param {!jspb.BinaryWriter} writer
95677
- * @suppress {unusedLocalVariables} f is only used for nested messages
95678
- */
95679
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.serializeBinaryToWriter = function(message, writer) {
95680
- var f = undefined;
95681
- f = message.getV0();
95682
- if (f != null) {
95683
- writer.writeMessage(
95684
- 1,
95685
- f,
95686
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0.serializeBinaryToWriter
95687
- );
95688
- }
95689
- };
95690
-
95691
-
95692
-
95693
-
95694
-
95695
- if (jspb.Message.GENERATE_TO_OBJECT) {
95696
- /**
95697
- * Creates an object representation of this proto.
95698
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
95699
- * Optional fields that are not set will be set to undefined.
95700
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
95701
- * For the list of reserved names please see:
95702
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
95703
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
95704
- * JSPB instance for transitional soy proto support:
95705
- * http://goto/soy-param-migration
95706
- * @return {!Object}
95707
- */
95708
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0.prototype.toObject = function(opt_includeInstance) {
95709
- return proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0.toObject(opt_includeInstance, this);
95710
- };
95711
-
95712
-
95713
- /**
95714
- * Static version of the {@see toObject} method.
95715
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
95716
- * the JSPB instance for transitional soy proto support:
95717
- * http://goto/soy-param-migration
95718
- * @param {!proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0} msg The msg instance to transform.
95719
- * @return {!Object}
95720
- * @suppress {unusedLocalVariables} f is only used for nested messages
95721
- */
95722
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0.toObject = function(includeInstance, msg) {
95723
- var f, obj = {
95724
- merkProof: msg.getMerkProof_asB64()
95725
- };
95726
-
95727
- if (includeInstance) {
95728
- obj.$jspbMessageInstance = msg;
95729
- }
95730
- return obj;
95731
- };
95732
- }
95733
-
95734
-
95735
- /**
95736
- * Deserializes binary data (in protobuf wire format).
95737
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
95738
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0}
95739
- */
95740
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0.deserializeBinary = function(bytes) {
95741
- var reader = new jspb.BinaryReader(bytes);
95742
- var msg = new proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0;
95743
- return proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0.deserializeBinaryFromReader(msg, reader);
95744
- };
95745
-
95746
-
95747
- /**
95748
- * Deserializes binary data (in protobuf wire format) from the
95749
- * given reader into the given message object.
95750
- * @param {!proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0} msg The message object to deserialize into.
95751
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
95752
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0}
95753
- */
95754
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0.deserializeBinaryFromReader = function(msg, reader) {
95755
- while (reader.nextField()) {
95756
- if (reader.isEndGroup()) {
95757
- break;
95758
- }
95759
- var field = reader.getFieldNumber();
95760
- switch (field) {
95761
- case 2:
95762
- var value = /** @type {!Uint8Array} */ (reader.readBytes());
95763
- msg.setMerkProof(value);
95764
- break;
95765
- default:
95766
- reader.skipField();
95767
- break;
95768
- }
95769
- }
95770
- return msg;
95771
- };
95772
-
95773
-
95774
- /**
95775
- * Serializes the message to binary data (in protobuf wire format).
95776
- * @return {!Uint8Array}
95777
- */
95778
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0.prototype.serializeBinary = function() {
95779
- var writer = new jspb.BinaryWriter();
95780
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0.serializeBinaryToWriter(this, writer);
95781
- return writer.getResultBuffer();
95782
- };
95783
-
95784
-
95785
- /**
95786
- * Serializes the given message to binary data (in protobuf wire
95787
- * format), writing to the given BinaryWriter.
95788
- * @param {!proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0} message
95789
- * @param {!jspb.BinaryWriter} writer
95790
- * @suppress {unusedLocalVariables} f is only used for nested messages
95791
- */
95792
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0.serializeBinaryToWriter = function(message, writer) {
95793
- var f = undefined;
95794
- f = message.getMerkProof_asU8();
95795
- if (f.length > 0) {
95796
- writer.writeBytes(
95797
- 2,
95798
- f
95799
- );
95800
- }
95801
- };
95802
-
95803
-
95804
- /**
95805
- * optional bytes merk_proof = 2;
95806
- * @return {string}
95807
- */
95808
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0.prototype.getMerkProof = function() {
95809
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
95810
- };
95811
-
95812
-
95813
- /**
95814
- * optional bytes merk_proof = 2;
95815
- * This is a type-conversion wrapper around `getMerkProof()`
95816
- * @return {string}
95817
- */
95818
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0.prototype.getMerkProof_asB64 = function() {
95819
- return /** @type {string} */ (jspb.Message.bytesAsB64(
95820
- this.getMerkProof()));
95821
- };
95822
-
95823
-
95824
- /**
95825
- * optional bytes merk_proof = 2;
95826
- * Note that Uint8Array is not supported on all browsers.
95827
- * @see http://caniuse.com/Uint8Array
95828
- * This is a type-conversion wrapper around `getMerkProof()`
95829
- * @return {!Uint8Array}
95830
- */
95831
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0.prototype.getMerkProof_asU8 = function() {
95832
- return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
95833
- this.getMerkProof()));
95834
- };
95835
-
95836
-
95837
- /**
95838
- * @param {!(string|Uint8Array)} value
95839
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0} returns this
95840
- */
95841
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0.prototype.setMerkProof = function(value) {
95842
- return jspb.Message.setProto3BytesField(this, 2, value);
95843
- };
95844
-
95845
-
95846
- /**
95847
- * optional GetNullifiersBranchStateResponseV0 v0 = 1;
95848
- * @return {?proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0}
95849
- */
95850
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.prototype.getV0 = function() {
95851
- return /** @type{?proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0} */ (
95852
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0, 1));
95853
- };
95854
-
95855
-
95856
- /**
95857
- * @param {?proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0|undefined} value
95858
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse} returns this
95859
- */
95860
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.prototype.setV0 = function(value) {
95861
- return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.oneofGroups_[0], value);
95862
- };
95863
-
95864
-
95865
- /**
95866
- * Clears the message field making it undefined.
95867
- * @return {!proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse} returns this
95868
- */
95869
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.prototype.clearV0 = function() {
95870
- return this.setV0(undefined);
95871
- };
95872
-
95873
-
95874
- /**
95875
- * Returns whether this field is set.
95876
- * @return {boolean}
95877
- */
95878
- proto.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.prototype.hasV0 = function() {
95879
- return jspb.Message.getField(this, 1) != null;
95880
- };
95881
-
95882
-
95883
-
95884
- /**
95885
- * List of repeated fields within this message type.
95886
- * @private {!Array<number>}
95887
- * @const
95888
- */
95889
- proto.org.dash.platform.dapi.v0.BlockNullifierChanges.repeatedFields_ = [2];
95890
-
95891
-
95892
-
95893
- if (jspb.Message.GENERATE_TO_OBJECT) {
95894
- /**
95895
- * Creates an object representation of this proto.
95896
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
95897
- * Optional fields that are not set will be set to undefined.
95898
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
95899
- * For the list of reserved names please see:
95900
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
95901
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
95902
- * JSPB instance for transitional soy proto support:
95903
- * http://goto/soy-param-migration
95904
- * @return {!Object}
95905
- */
95906
- proto.org.dash.platform.dapi.v0.BlockNullifierChanges.prototype.toObject = function(opt_includeInstance) {
95907
- return proto.org.dash.platform.dapi.v0.BlockNullifierChanges.toObject(opt_includeInstance, this);
95908
- };
95909
-
95910
-
95911
- /**
95912
- * Static version of the {@see toObject} method.
95913
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
95914
- * the JSPB instance for transitional soy proto support:
95915
- * http://goto/soy-param-migration
95916
- * @param {!proto.org.dash.platform.dapi.v0.BlockNullifierChanges} msg The msg instance to transform.
95917
- * @return {!Object}
95918
- * @suppress {unusedLocalVariables} f is only used for nested messages
95919
- */
95920
- proto.org.dash.platform.dapi.v0.BlockNullifierChanges.toObject = function(includeInstance, msg) {
95921
- var f, obj = {
95922
- blockHeight: jspb.Message.getFieldWithDefault(msg, 1, "0"),
95923
- nullifiersList: msg.getNullifiersList_asB64()
95924
- };
95925
-
95926
- if (includeInstance) {
95927
- obj.$jspbMessageInstance = msg;
95928
- }
95929
- return obj;
95930
- };
95931
- }
95932
-
95933
-
95934
- /**
95935
- * Deserializes binary data (in protobuf wire format).
95936
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
95937
- * @return {!proto.org.dash.platform.dapi.v0.BlockNullifierChanges}
95938
- */
95939
- proto.org.dash.platform.dapi.v0.BlockNullifierChanges.deserializeBinary = function(bytes) {
95940
- var reader = new jspb.BinaryReader(bytes);
95941
- var msg = new proto.org.dash.platform.dapi.v0.BlockNullifierChanges;
95942
- return proto.org.dash.platform.dapi.v0.BlockNullifierChanges.deserializeBinaryFromReader(msg, reader);
95943
- };
95944
-
95945
-
95946
- /**
95947
- * Deserializes binary data (in protobuf wire format) from the
95948
- * given reader into the given message object.
95949
- * @param {!proto.org.dash.platform.dapi.v0.BlockNullifierChanges} msg The message object to deserialize into.
95950
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
95951
- * @return {!proto.org.dash.platform.dapi.v0.BlockNullifierChanges}
95952
- */
95953
- proto.org.dash.platform.dapi.v0.BlockNullifierChanges.deserializeBinaryFromReader = function(msg, reader) {
95954
- while (reader.nextField()) {
95955
- if (reader.isEndGroup()) {
95956
- break;
95957
- }
95958
- var field = reader.getFieldNumber();
95959
- switch (field) {
95960
- case 1:
95961
- var value = /** @type {string} */ (reader.readUint64String());
95962
- msg.setBlockHeight(value);
95963
- break;
95964
- case 2:
95965
- var value = /** @type {!Uint8Array} */ (reader.readBytes());
95966
- msg.addNullifiers(value);
95967
- break;
95968
- default:
95969
- reader.skipField();
95970
- break;
95971
- }
95972
- }
95973
- return msg;
95974
- };
95975
-
95976
-
95977
- /**
95978
- * Serializes the message to binary data (in protobuf wire format).
95979
- * @return {!Uint8Array}
95980
- */
95981
- proto.org.dash.platform.dapi.v0.BlockNullifierChanges.prototype.serializeBinary = function() {
95982
- var writer = new jspb.BinaryWriter();
95983
- proto.org.dash.platform.dapi.v0.BlockNullifierChanges.serializeBinaryToWriter(this, writer);
95984
- return writer.getResultBuffer();
95985
- };
95986
-
95987
-
95988
- /**
95989
- * Serializes the given message to binary data (in protobuf wire
95990
- * format), writing to the given BinaryWriter.
95991
- * @param {!proto.org.dash.platform.dapi.v0.BlockNullifierChanges} message
95992
- * @param {!jspb.BinaryWriter} writer
95993
- * @suppress {unusedLocalVariables} f is only used for nested messages
95994
- */
95995
- proto.org.dash.platform.dapi.v0.BlockNullifierChanges.serializeBinaryToWriter = function(message, writer) {
95996
- var f = undefined;
95997
- f = message.getBlockHeight();
95998
- if (parseInt(f, 10) !== 0) {
95999
- writer.writeUint64String(
96000
- 1,
96001
- f
96002
- );
96003
- }
96004
- f = message.getNullifiersList_asU8();
96005
- if (f.length > 0) {
96006
- writer.writeRepeatedBytes(
96007
- 2,
96008
- f
96009
- );
96010
- }
96011
- };
96012
-
96013
-
96014
- /**
96015
- * optional uint64 block_height = 1;
96016
- * @return {string}
96017
- */
96018
- proto.org.dash.platform.dapi.v0.BlockNullifierChanges.prototype.getBlockHeight = function() {
96019
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "0"));
96020
- };
96021
-
96022
-
96023
- /**
96024
- * @param {string} value
96025
- * @return {!proto.org.dash.platform.dapi.v0.BlockNullifierChanges} returns this
96026
- */
96027
- proto.org.dash.platform.dapi.v0.BlockNullifierChanges.prototype.setBlockHeight = function(value) {
96028
- return jspb.Message.setProto3StringIntField(this, 1, value);
96029
- };
96030
-
96031
-
96032
- /**
96033
- * repeated bytes nullifiers = 2;
96034
- * @return {!Array<string>}
96035
- */
96036
- proto.org.dash.platform.dapi.v0.BlockNullifierChanges.prototype.getNullifiersList = function() {
96037
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
96038
- };
96039
-
96040
-
96041
- /**
96042
- * repeated bytes nullifiers = 2;
96043
- * This is a type-conversion wrapper around `getNullifiersList()`
96044
- * @return {!Array<string>}
96045
- */
96046
- proto.org.dash.platform.dapi.v0.BlockNullifierChanges.prototype.getNullifiersList_asB64 = function() {
96047
- return /** @type {!Array<string>} */ (jspb.Message.bytesListAsB64(
96048
- this.getNullifiersList()));
96049
- };
96050
-
96051
-
96052
- /**
96053
- * repeated bytes nullifiers = 2;
96054
- * Note that Uint8Array is not supported on all browsers.
96055
- * @see http://caniuse.com/Uint8Array
96056
- * This is a type-conversion wrapper around `getNullifiersList()`
96057
- * @return {!Array<!Uint8Array>}
96058
- */
96059
- proto.org.dash.platform.dapi.v0.BlockNullifierChanges.prototype.getNullifiersList_asU8 = function() {
96060
- return /** @type {!Array<!Uint8Array>} */ (jspb.Message.bytesListAsU8(
96061
- this.getNullifiersList()));
96062
- };
96063
-
96064
-
96065
- /**
96066
- * @param {!(Array<!Uint8Array>|Array<string>)} value
96067
- * @return {!proto.org.dash.platform.dapi.v0.BlockNullifierChanges} returns this
96068
- */
96069
- proto.org.dash.platform.dapi.v0.BlockNullifierChanges.prototype.setNullifiersList = function(value) {
96070
- return jspb.Message.setField(this, 2, value || []);
96071
- };
96072
-
96073
-
96074
- /**
96075
- * @param {!(string|Uint8Array)} value
96076
- * @param {number=} opt_index
96077
- * @return {!proto.org.dash.platform.dapi.v0.BlockNullifierChanges} returns this
96078
- */
96079
- proto.org.dash.platform.dapi.v0.BlockNullifierChanges.prototype.addNullifiers = function(value, opt_index) {
96080
- return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
96081
- };
96082
-
96083
-
96084
- /**
96085
- * Clears the list making it empty but non-null.
96086
- * @return {!proto.org.dash.platform.dapi.v0.BlockNullifierChanges} returns this
96087
- */
96088
- proto.org.dash.platform.dapi.v0.BlockNullifierChanges.prototype.clearNullifiersList = function() {
96089
- return this.setNullifiersList([]);
96090
- };
96091
-
96092
-
96093
-
96094
- /**
96095
- * List of repeated fields within this message type.
96096
- * @private {!Array<number>}
96097
- * @const
96098
- */
96099
- proto.org.dash.platform.dapi.v0.NullifierUpdateEntries.repeatedFields_ = [1];
96100
-
96101
-
96102
-
96103
- if (jspb.Message.GENERATE_TO_OBJECT) {
96104
- /**
96105
- * Creates an object representation of this proto.
96106
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
96107
- * Optional fields that are not set will be set to undefined.
96108
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
96109
- * For the list of reserved names please see:
96110
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
96111
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
96112
- * JSPB instance for transitional soy proto support:
96113
- * http://goto/soy-param-migration
96114
- * @return {!Object}
96115
- */
96116
- proto.org.dash.platform.dapi.v0.NullifierUpdateEntries.prototype.toObject = function(opt_includeInstance) {
96117
- return proto.org.dash.platform.dapi.v0.NullifierUpdateEntries.toObject(opt_includeInstance, this);
96118
- };
96119
-
96120
-
96121
- /**
96122
- * Static version of the {@see toObject} method.
96123
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
96124
- * the JSPB instance for transitional soy proto support:
96125
- * http://goto/soy-param-migration
96126
- * @param {!proto.org.dash.platform.dapi.v0.NullifierUpdateEntries} msg The msg instance to transform.
96127
- * @return {!Object}
96128
- * @suppress {unusedLocalVariables} f is only used for nested messages
96129
- */
96130
- proto.org.dash.platform.dapi.v0.NullifierUpdateEntries.toObject = function(includeInstance, msg) {
96131
- var f, obj = {
96132
- blockChangesList: jspb.Message.toObjectList(msg.getBlockChangesList(),
96133
- proto.org.dash.platform.dapi.v0.BlockNullifierChanges.toObject, includeInstance)
96134
- };
96135
-
96136
- if (includeInstance) {
96137
- obj.$jspbMessageInstance = msg;
96138
- }
96139
- return obj;
96140
- };
96141
- }
96142
-
96143
-
96144
- /**
96145
- * Deserializes binary data (in protobuf wire format).
96146
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
96147
- * @return {!proto.org.dash.platform.dapi.v0.NullifierUpdateEntries}
96148
- */
96149
- proto.org.dash.platform.dapi.v0.NullifierUpdateEntries.deserializeBinary = function(bytes) {
96150
- var reader = new jspb.BinaryReader(bytes);
96151
- var msg = new proto.org.dash.platform.dapi.v0.NullifierUpdateEntries;
96152
- return proto.org.dash.platform.dapi.v0.NullifierUpdateEntries.deserializeBinaryFromReader(msg, reader);
96153
- };
96154
-
96155
-
96156
- /**
96157
- * Deserializes binary data (in protobuf wire format) from the
96158
- * given reader into the given message object.
96159
- * @param {!proto.org.dash.platform.dapi.v0.NullifierUpdateEntries} msg The message object to deserialize into.
96160
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
96161
- * @return {!proto.org.dash.platform.dapi.v0.NullifierUpdateEntries}
96162
- */
96163
- proto.org.dash.platform.dapi.v0.NullifierUpdateEntries.deserializeBinaryFromReader = function(msg, reader) {
96164
- while (reader.nextField()) {
96165
- if (reader.isEndGroup()) {
96166
- break;
96167
- }
96168
- var field = reader.getFieldNumber();
96169
- switch (field) {
96170
- case 1:
96171
- var value = new proto.org.dash.platform.dapi.v0.BlockNullifierChanges;
96172
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.BlockNullifierChanges.deserializeBinaryFromReader);
96173
- msg.addBlockChanges(value);
96174
- break;
96175
- default:
96176
- reader.skipField();
96177
- break;
96178
- }
96179
- }
96180
- return msg;
96181
- };
96182
-
96183
-
96184
- /**
96185
- * Serializes the message to binary data (in protobuf wire format).
96186
- * @return {!Uint8Array}
96187
- */
96188
- proto.org.dash.platform.dapi.v0.NullifierUpdateEntries.prototype.serializeBinary = function() {
96189
- var writer = new jspb.BinaryWriter();
96190
- proto.org.dash.platform.dapi.v0.NullifierUpdateEntries.serializeBinaryToWriter(this, writer);
96191
- return writer.getResultBuffer();
96192
- };
96193
-
96194
-
96195
- /**
96196
- * Serializes the given message to binary data (in protobuf wire
96197
- * format), writing to the given BinaryWriter.
96198
- * @param {!proto.org.dash.platform.dapi.v0.NullifierUpdateEntries} message
96199
- * @param {!jspb.BinaryWriter} writer
96200
- * @suppress {unusedLocalVariables} f is only used for nested messages
96201
- */
96202
- proto.org.dash.platform.dapi.v0.NullifierUpdateEntries.serializeBinaryToWriter = function(message, writer) {
96203
- var f = undefined;
96204
- f = message.getBlockChangesList();
96205
- if (f.length > 0) {
96206
- writer.writeRepeatedMessage(
96207
- 1,
96208
- f,
96209
- proto.org.dash.platform.dapi.v0.BlockNullifierChanges.serializeBinaryToWriter
96210
- );
96211
- }
96212
- };
96213
-
96214
-
96215
- /**
96216
- * repeated BlockNullifierChanges block_changes = 1;
96217
- * @return {!Array<!proto.org.dash.platform.dapi.v0.BlockNullifierChanges>}
96218
- */
96219
- proto.org.dash.platform.dapi.v0.NullifierUpdateEntries.prototype.getBlockChangesList = function() {
96220
- return /** @type{!Array<!proto.org.dash.platform.dapi.v0.BlockNullifierChanges>} */ (
96221
- jspb.Message.getRepeatedWrapperField(this, proto.org.dash.platform.dapi.v0.BlockNullifierChanges, 1));
96222
- };
96223
-
96224
-
96225
- /**
96226
- * @param {!Array<!proto.org.dash.platform.dapi.v0.BlockNullifierChanges>} value
96227
- * @return {!proto.org.dash.platform.dapi.v0.NullifierUpdateEntries} returns this
96228
- */
96229
- proto.org.dash.platform.dapi.v0.NullifierUpdateEntries.prototype.setBlockChangesList = function(value) {
96230
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
96231
- };
96232
-
96233
-
96234
- /**
96235
- * @param {!proto.org.dash.platform.dapi.v0.BlockNullifierChanges=} opt_value
96236
- * @param {number=} opt_index
96237
- * @return {!proto.org.dash.platform.dapi.v0.BlockNullifierChanges}
96238
- */
96239
- proto.org.dash.platform.dapi.v0.NullifierUpdateEntries.prototype.addBlockChanges = function(opt_value, opt_index) {
96240
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.org.dash.platform.dapi.v0.BlockNullifierChanges, opt_index);
96241
- };
96242
-
96243
-
96244
- /**
96245
- * Clears the list making it empty but non-null.
96246
- * @return {!proto.org.dash.platform.dapi.v0.NullifierUpdateEntries} returns this
96247
- */
96248
- proto.org.dash.platform.dapi.v0.NullifierUpdateEntries.prototype.clearBlockChangesList = function() {
96249
- return this.setBlockChangesList([]);
96250
- };
96251
-
96252
-
96253
-
96254
- /**
96255
- * Oneof group definitions for this message. Each group defines the field
96256
- * numbers belonging to that group. When of these fields' value is set, all
96257
- * other fields in the group are cleared. During deserialization, if multiple
96258
- * fields are encountered for a group, only the last value seen will be kept.
96259
- * @private {!Array<!Array<number>>}
96260
- * @const
96261
- */
96262
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.oneofGroups_ = [[1]];
96263
-
96264
- /**
96265
- * @enum {number}
96266
- */
96267
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.VersionCase = {
96268
- VERSION_NOT_SET: 0,
96269
- V0: 1
96270
- };
96271
-
96272
- /**
96273
- * @return {proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.VersionCase}
96274
- */
96275
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.prototype.getVersionCase = function() {
96276
- return /** @type {proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.oneofGroups_[0]));
96277
- };
96278
-
96279
-
96280
-
96281
- if (jspb.Message.GENERATE_TO_OBJECT) {
96282
- /**
96283
- * Creates an object representation of this proto.
96284
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
96285
- * Optional fields that are not set will be set to undefined.
96286
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
96287
- * For the list of reserved names please see:
96288
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
96289
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
96290
- * JSPB instance for transitional soy proto support:
96291
- * http://goto/soy-param-migration
96292
- * @return {!Object}
96293
- */
96294
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.prototype.toObject = function(opt_includeInstance) {
96295
- return proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.toObject(opt_includeInstance, this);
96296
- };
96297
-
96298
-
96299
- /**
96300
- * Static version of the {@see toObject} method.
96301
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
96302
- * the JSPB instance for transitional soy proto support:
96303
- * http://goto/soy-param-migration
96304
- * @param {!proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest} msg The msg instance to transform.
96305
- * @return {!Object}
96306
- * @suppress {unusedLocalVariables} f is only used for nested messages
96307
- */
96308
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.toObject = function(includeInstance, msg) {
96309
- var f, obj = {
96310
- v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0.toObject(includeInstance, f)
96311
- };
96312
-
96313
- if (includeInstance) {
96314
- obj.$jspbMessageInstance = msg;
96315
- }
96316
- return obj;
96317
- };
96318
- }
96319
-
96320
-
96321
- /**
96322
- * Deserializes binary data (in protobuf wire format).
96323
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
96324
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest}
96325
- */
96326
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.deserializeBinary = function(bytes) {
96327
- var reader = new jspb.BinaryReader(bytes);
96328
- var msg = new proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest;
96329
- return proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.deserializeBinaryFromReader(msg, reader);
96330
- };
96331
-
96332
-
96333
- /**
96334
- * Deserializes binary data (in protobuf wire format) from the
96335
- * given reader into the given message object.
96336
- * @param {!proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest} msg The message object to deserialize into.
96337
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
96338
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest}
96339
- */
96340
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.deserializeBinaryFromReader = function(msg, reader) {
96341
- while (reader.nextField()) {
96342
- if (reader.isEndGroup()) {
96343
- break;
96344
- }
96345
- var field = reader.getFieldNumber();
96346
- switch (field) {
96347
- case 1:
96348
- var value = new proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0;
96349
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0.deserializeBinaryFromReader);
96350
- msg.setV0(value);
96351
- break;
96352
- default:
96353
- reader.skipField();
96354
- break;
96355
- }
96356
- }
96357
- return msg;
96358
- };
96359
-
96360
-
96361
- /**
96362
- * Serializes the message to binary data (in protobuf wire format).
96363
- * @return {!Uint8Array}
96364
- */
96365
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.prototype.serializeBinary = function() {
96366
- var writer = new jspb.BinaryWriter();
96367
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.serializeBinaryToWriter(this, writer);
96368
- return writer.getResultBuffer();
96369
- };
96370
-
96371
-
96372
- /**
96373
- * Serializes the given message to binary data (in protobuf wire
96374
- * format), writing to the given BinaryWriter.
96375
- * @param {!proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest} message
96376
- * @param {!jspb.BinaryWriter} writer
96377
- * @suppress {unusedLocalVariables} f is only used for nested messages
96378
- */
96379
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.serializeBinaryToWriter = function(message, writer) {
96380
- var f = undefined;
96381
- f = message.getV0();
96382
- if (f != null) {
96383
- writer.writeMessage(
96384
- 1,
96385
- f,
96386
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0.serializeBinaryToWriter
96387
- );
96388
- }
96389
- };
96390
-
96391
-
96392
-
96393
-
96394
-
96395
- if (jspb.Message.GENERATE_TO_OBJECT) {
96396
- /**
96397
- * Creates an object representation of this proto.
96398
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
96399
- * Optional fields that are not set will be set to undefined.
96400
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
96401
- * For the list of reserved names please see:
96402
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
96403
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
96404
- * JSPB instance for transitional soy proto support:
96405
- * http://goto/soy-param-migration
96406
- * @return {!Object}
96407
- */
96408
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0.prototype.toObject = function(opt_includeInstance) {
96409
- return proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0.toObject(opt_includeInstance, this);
96410
- };
96411
-
96412
-
96413
- /**
96414
- * Static version of the {@see toObject} method.
96415
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
96416
- * the JSPB instance for transitional soy proto support:
96417
- * http://goto/soy-param-migration
96418
- * @param {!proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0} msg The msg instance to transform.
96419
- * @return {!Object}
96420
- * @suppress {unusedLocalVariables} f is only used for nested messages
96421
- */
96422
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0.toObject = function(includeInstance, msg) {
96423
- var f, obj = {
96424
- startHeight: jspb.Message.getFieldWithDefault(msg, 1, "0"),
96425
- prove: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
96426
- };
96427
-
96428
- if (includeInstance) {
96429
- obj.$jspbMessageInstance = msg;
96430
- }
96431
- return obj;
96432
- };
96433
- }
96434
-
96435
-
96436
- /**
96437
- * Deserializes binary data (in protobuf wire format).
96438
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
96439
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0}
96440
- */
96441
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0.deserializeBinary = function(bytes) {
96442
- var reader = new jspb.BinaryReader(bytes);
96443
- var msg = new proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0;
96444
- return proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0.deserializeBinaryFromReader(msg, reader);
96445
- };
96446
-
96447
-
96448
- /**
96449
- * Deserializes binary data (in protobuf wire format) from the
96450
- * given reader into the given message object.
96451
- * @param {!proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0} msg The message object to deserialize into.
96452
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
96453
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0}
96454
- */
96455
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0.deserializeBinaryFromReader = function(msg, reader) {
96456
- while (reader.nextField()) {
96457
- if (reader.isEndGroup()) {
96458
- break;
96459
- }
96460
- var field = reader.getFieldNumber();
96461
- switch (field) {
96462
- case 1:
96463
- var value = /** @type {string} */ (reader.readUint64String());
96464
- msg.setStartHeight(value);
96465
- break;
96466
- case 2:
96467
- var value = /** @type {boolean} */ (reader.readBool());
96468
- msg.setProve(value);
96469
- break;
96470
- default:
96471
- reader.skipField();
96472
- break;
96473
- }
96474
- }
96475
- return msg;
96476
- };
96477
-
96478
-
96479
- /**
96480
- * Serializes the message to binary data (in protobuf wire format).
96481
- * @return {!Uint8Array}
96482
- */
96483
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0.prototype.serializeBinary = function() {
96484
- var writer = new jspb.BinaryWriter();
96485
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0.serializeBinaryToWriter(this, writer);
96486
- return writer.getResultBuffer();
96487
- };
96488
-
96489
-
96490
- /**
96491
- * Serializes the given message to binary data (in protobuf wire
96492
- * format), writing to the given BinaryWriter.
96493
- * @param {!proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0} message
96494
- * @param {!jspb.BinaryWriter} writer
96495
- * @suppress {unusedLocalVariables} f is only used for nested messages
96496
- */
96497
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0.serializeBinaryToWriter = function(message, writer) {
96498
- var f = undefined;
96499
- f = message.getStartHeight();
96500
- if (parseInt(f, 10) !== 0) {
96501
- writer.writeUint64String(
96502
- 1,
96503
- f
96504
- );
96505
- }
96506
- f = message.getProve();
96507
- if (f) {
96508
- writer.writeBool(
96509
- 2,
96510
- f
96511
- );
96512
- }
96513
- };
96514
-
96515
-
96516
- /**
96517
- * optional uint64 start_height = 1;
96518
- * @return {string}
96519
- */
96520
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0.prototype.getStartHeight = function() {
96521
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "0"));
96522
- };
96523
-
96524
-
96525
- /**
96526
- * @param {string} value
96527
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0} returns this
96528
- */
96529
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0.prototype.setStartHeight = function(value) {
96530
- return jspb.Message.setProto3StringIntField(this, 1, value);
96531
- };
96532
-
96533
-
96534
- /**
96535
- * optional bool prove = 2;
96536
- * @return {boolean}
96537
- */
96538
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0.prototype.getProve = function() {
96539
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
96540
- };
96541
-
96542
-
96543
- /**
96544
- * @param {boolean} value
96545
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0} returns this
96546
- */
96547
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0.prototype.setProve = function(value) {
96548
- return jspb.Message.setProto3BooleanField(this, 2, value);
96549
- };
96550
-
96551
-
96552
- /**
96553
- * optional GetRecentNullifierChangesRequestV0 v0 = 1;
96554
- * @return {?proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0}
96555
- */
96556
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.prototype.getV0 = function() {
96557
- return /** @type{?proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0} */ (
96558
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0, 1));
96559
- };
96560
-
96561
-
96562
- /**
96563
- * @param {?proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0|undefined} value
96564
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest} returns this
96565
- */
96566
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.prototype.setV0 = function(value) {
96567
- return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.oneofGroups_[0], value);
96568
- };
96569
-
96570
-
96571
- /**
96572
- * Clears the message field making it undefined.
96573
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest} returns this
96574
- */
96575
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.prototype.clearV0 = function() {
96576
- return this.setV0(undefined);
96577
- };
96578
-
96579
-
96580
- /**
96581
- * Returns whether this field is set.
96582
- * @return {boolean}
96583
- */
96584
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.prototype.hasV0 = function() {
96585
- return jspb.Message.getField(this, 1) != null;
96586
- };
96587
-
96588
-
96589
-
96590
- /**
96591
- * Oneof group definitions for this message. Each group defines the field
96592
- * numbers belonging to that group. When of these fields' value is set, all
96593
- * other fields in the group are cleared. During deserialization, if multiple
96594
- * fields are encountered for a group, only the last value seen will be kept.
96595
- * @private {!Array<!Array<number>>}
96596
- * @const
96597
- */
96598
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.oneofGroups_ = [[1]];
96599
-
96600
- /**
96601
- * @enum {number}
96602
- */
96603
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.VersionCase = {
96604
- VERSION_NOT_SET: 0,
96605
- V0: 1
96606
- };
96607
-
96608
- /**
96609
- * @return {proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.VersionCase}
96610
- */
96611
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.prototype.getVersionCase = function() {
96612
- return /** @type {proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.oneofGroups_[0]));
96613
- };
96614
-
96615
-
96616
-
96617
- if (jspb.Message.GENERATE_TO_OBJECT) {
96618
- /**
96619
- * Creates an object representation of this proto.
96620
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
96621
- * Optional fields that are not set will be set to undefined.
96622
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
96623
- * For the list of reserved names please see:
96624
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
96625
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
96626
- * JSPB instance for transitional soy proto support:
96627
- * http://goto/soy-param-migration
96628
- * @return {!Object}
96629
- */
96630
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.prototype.toObject = function(opt_includeInstance) {
96631
- return proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.toObject(opt_includeInstance, this);
96632
- };
96633
-
96634
-
96635
- /**
96636
- * Static version of the {@see toObject} method.
96637
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
96638
- * the JSPB instance for transitional soy proto support:
96639
- * http://goto/soy-param-migration
96640
- * @param {!proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse} msg The msg instance to transform.
96641
- * @return {!Object}
96642
- * @suppress {unusedLocalVariables} f is only used for nested messages
96643
- */
96644
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.toObject = function(includeInstance, msg) {
96645
- var f, obj = {
96646
- v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.toObject(includeInstance, f)
96647
- };
96648
-
96649
- if (includeInstance) {
96650
- obj.$jspbMessageInstance = msg;
96651
- }
96652
- return obj;
96653
- };
96654
- }
96655
-
96656
-
96657
- /**
96658
- * Deserializes binary data (in protobuf wire format).
96659
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
96660
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse}
96661
- */
96662
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.deserializeBinary = function(bytes) {
96663
- var reader = new jspb.BinaryReader(bytes);
96664
- var msg = new proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse;
96665
- return proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.deserializeBinaryFromReader(msg, reader);
96666
- };
96667
-
96668
-
96669
- /**
96670
- * Deserializes binary data (in protobuf wire format) from the
96671
- * given reader into the given message object.
96672
- * @param {!proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse} msg The message object to deserialize into.
96673
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
96674
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse}
96675
- */
96676
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.deserializeBinaryFromReader = function(msg, reader) {
96677
- while (reader.nextField()) {
96678
- if (reader.isEndGroup()) {
96679
- break;
96680
- }
96681
- var field = reader.getFieldNumber();
96682
- switch (field) {
96683
- case 1:
96684
- var value = new proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0;
96685
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.deserializeBinaryFromReader);
96686
- msg.setV0(value);
96687
- break;
96688
- default:
96689
- reader.skipField();
96690
- break;
96691
- }
96692
- }
96693
- return msg;
96694
- };
96695
-
96696
-
96697
- /**
96698
- * Serializes the message to binary data (in protobuf wire format).
96699
- * @return {!Uint8Array}
96700
- */
96701
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.prototype.serializeBinary = function() {
96702
- var writer = new jspb.BinaryWriter();
96703
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.serializeBinaryToWriter(this, writer);
96704
- return writer.getResultBuffer();
96705
- };
96706
-
96707
-
96708
- /**
96709
- * Serializes the given message to binary data (in protobuf wire
96710
- * format), writing to the given BinaryWriter.
96711
- * @param {!proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse} message
96712
- * @param {!jspb.BinaryWriter} writer
96713
- * @suppress {unusedLocalVariables} f is only used for nested messages
96714
- */
96715
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.serializeBinaryToWriter = function(message, writer) {
96716
- var f = undefined;
96717
- f = message.getV0();
96718
- if (f != null) {
96719
- writer.writeMessage(
96720
- 1,
96721
- f,
96722
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.serializeBinaryToWriter
96723
- );
96724
- }
96725
- };
96726
-
96727
-
96728
-
96729
- /**
96730
- * Oneof group definitions for this message. Each group defines the field
96731
- * numbers belonging to that group. When of these fields' value is set, all
96732
- * other fields in the group are cleared. During deserialization, if multiple
96733
- * fields are encountered for a group, only the last value seen will be kept.
96734
- * @private {!Array<!Array<number>>}
96735
- * @const
96736
- */
96737
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.oneofGroups_ = [[1,2]];
96738
-
96739
- /**
96740
- * @enum {number}
96741
- */
96742
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.ResultCase = {
96743
- RESULT_NOT_SET: 0,
96744
- NULLIFIER_UPDATE_ENTRIES: 1,
96745
- PROOF: 2
96746
- };
96747
-
96748
- /**
96749
- * @return {proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.ResultCase}
96750
- */
96751
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.prototype.getResultCase = function() {
96752
- return /** @type {proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.oneofGroups_[0]));
96753
- };
96754
-
96755
-
96756
-
96757
- if (jspb.Message.GENERATE_TO_OBJECT) {
96758
- /**
96759
- * Creates an object representation of this proto.
96760
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
96761
- * Optional fields that are not set will be set to undefined.
96762
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
96763
- * For the list of reserved names please see:
96764
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
96765
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
96766
- * JSPB instance for transitional soy proto support:
96767
- * http://goto/soy-param-migration
96768
- * @return {!Object}
96769
- */
96770
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.prototype.toObject = function(opt_includeInstance) {
96771
- return proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.toObject(opt_includeInstance, this);
96772
- };
96773
-
96774
-
96775
- /**
96776
- * Static version of the {@see toObject} method.
96777
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
96778
- * the JSPB instance for transitional soy proto support:
96779
- * http://goto/soy-param-migration
96780
- * @param {!proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0} msg The msg instance to transform.
96781
- * @return {!Object}
96782
- * @suppress {unusedLocalVariables} f is only used for nested messages
96783
- */
96784
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.toObject = function(includeInstance, msg) {
96785
- var f, obj = {
96786
- nullifierUpdateEntries: (f = msg.getNullifierUpdateEntries()) && proto.org.dash.platform.dapi.v0.NullifierUpdateEntries.toObject(includeInstance, f),
96787
- proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
96788
- metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
96789
- };
96790
-
96791
- if (includeInstance) {
96792
- obj.$jspbMessageInstance = msg;
96793
- }
96794
- return obj;
96795
- };
96796
- }
96797
-
96798
-
96799
- /**
96800
- * Deserializes binary data (in protobuf wire format).
96801
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
96802
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0}
96803
- */
96804
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.deserializeBinary = function(bytes) {
96805
- var reader = new jspb.BinaryReader(bytes);
96806
- var msg = new proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0;
96807
- return proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.deserializeBinaryFromReader(msg, reader);
96808
- };
96809
-
96810
-
96811
- /**
96812
- * Deserializes binary data (in protobuf wire format) from the
96813
- * given reader into the given message object.
96814
- * @param {!proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0} msg The message object to deserialize into.
96815
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
96816
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0}
96817
- */
96818
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.deserializeBinaryFromReader = function(msg, reader) {
96819
- while (reader.nextField()) {
96820
- if (reader.isEndGroup()) {
96821
- break;
96822
- }
96823
- var field = reader.getFieldNumber();
96824
- switch (field) {
96825
- case 1:
96826
- var value = new proto.org.dash.platform.dapi.v0.NullifierUpdateEntries;
96827
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.NullifierUpdateEntries.deserializeBinaryFromReader);
96828
- msg.setNullifierUpdateEntries(value);
96829
- break;
96830
- case 2:
96831
- var value = new proto.org.dash.platform.dapi.v0.Proof;
96832
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
96833
- msg.setProof(value);
96834
- break;
96835
- case 3:
96836
- var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
96837
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
96838
- msg.setMetadata(value);
96839
- break;
96840
- default:
96841
- reader.skipField();
96842
- break;
96843
- }
96844
- }
96845
- return msg;
96846
- };
96847
-
96848
-
96849
- /**
96850
- * Serializes the message to binary data (in protobuf wire format).
96851
- * @return {!Uint8Array}
96852
- */
96853
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.prototype.serializeBinary = function() {
96854
- var writer = new jspb.BinaryWriter();
96855
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.serializeBinaryToWriter(this, writer);
96856
- return writer.getResultBuffer();
96857
- };
96858
-
96859
-
96860
- /**
96861
- * Serializes the given message to binary data (in protobuf wire
96862
- * format), writing to the given BinaryWriter.
96863
- * @param {!proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0} message
96864
- * @param {!jspb.BinaryWriter} writer
96865
- * @suppress {unusedLocalVariables} f is only used for nested messages
96866
- */
96867
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.serializeBinaryToWriter = function(message, writer) {
96868
- var f = undefined;
96869
- f = message.getNullifierUpdateEntries();
96870
- if (f != null) {
96871
- writer.writeMessage(
96872
- 1,
96873
- f,
96874
- proto.org.dash.platform.dapi.v0.NullifierUpdateEntries.serializeBinaryToWriter
96875
- );
96876
- }
96877
- f = message.getProof();
96878
- if (f != null) {
96879
- writer.writeMessage(
96880
- 2,
96881
- f,
96882
- proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
96883
- );
96884
- }
96885
- f = message.getMetadata();
96886
- if (f != null) {
96887
- writer.writeMessage(
96888
- 3,
96889
- f,
96890
- proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
96891
- );
96892
- }
96893
- };
96894
-
96895
-
96896
- /**
96897
- * optional NullifierUpdateEntries nullifier_update_entries = 1;
96898
- * @return {?proto.org.dash.platform.dapi.v0.NullifierUpdateEntries}
96899
- */
96900
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.prototype.getNullifierUpdateEntries = function() {
96901
- return /** @type{?proto.org.dash.platform.dapi.v0.NullifierUpdateEntries} */ (
96902
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.NullifierUpdateEntries, 1));
96903
- };
96904
-
96905
-
96906
- /**
96907
- * @param {?proto.org.dash.platform.dapi.v0.NullifierUpdateEntries|undefined} value
96908
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0} returns this
96909
- */
96910
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.prototype.setNullifierUpdateEntries = function(value) {
96911
- return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.oneofGroups_[0], value);
96912
- };
96913
-
96914
-
96915
- /**
96916
- * Clears the message field making it undefined.
96917
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0} returns this
96918
- */
96919
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.prototype.clearNullifierUpdateEntries = function() {
96920
- return this.setNullifierUpdateEntries(undefined);
96921
- };
96922
-
96923
-
96924
- /**
96925
- * Returns whether this field is set.
96926
- * @return {boolean}
96927
- */
96928
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.prototype.hasNullifierUpdateEntries = function() {
96929
- return jspb.Message.getField(this, 1) != null;
96930
- };
96931
-
96932
-
96933
- /**
96934
- * optional Proof proof = 2;
96935
- * @return {?proto.org.dash.platform.dapi.v0.Proof}
96936
- */
96937
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.prototype.getProof = function() {
96938
- return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ (
96939
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
96940
- };
96941
-
96942
-
96943
- /**
96944
- * @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value
96945
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0} returns this
96946
- */
96947
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.prototype.setProof = function(value) {
96948
- return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.oneofGroups_[0], value);
96949
- };
96950
-
96951
-
96952
- /**
96953
- * Clears the message field making it undefined.
96954
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0} returns this
96955
- */
96956
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.prototype.clearProof = function() {
96957
- return this.setProof(undefined);
96958
- };
96959
-
96960
-
96961
- /**
96962
- * Returns whether this field is set.
96963
- * @return {boolean}
96964
- */
96965
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.prototype.hasProof = function() {
96966
- return jspb.Message.getField(this, 2) != null;
96967
- };
96968
-
96969
-
96970
- /**
96971
- * optional ResponseMetadata metadata = 3;
96972
- * @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata}
96973
- */
96974
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.prototype.getMetadata = function() {
96975
- return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ (
96976
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3));
96977
- };
96978
-
96979
-
96980
- /**
96981
- * @param {?proto.org.dash.platform.dapi.v0.ResponseMetadata|undefined} value
96982
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0} returns this
96983
- */
96984
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.prototype.setMetadata = function(value) {
96985
- return jspb.Message.setWrapperField(this, 3, value);
96986
- };
96987
-
96988
-
96989
- /**
96990
- * Clears the message field making it undefined.
96991
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0} returns this
96992
- */
96993
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.prototype.clearMetadata = function() {
96994
- return this.setMetadata(undefined);
96995
- };
96996
-
96997
-
96998
- /**
96999
- * Returns whether this field is set.
97000
- * @return {boolean}
97001
- */
97002
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0.prototype.hasMetadata = function() {
97003
- return jspb.Message.getField(this, 3) != null;
97004
- };
97005
-
97006
-
97007
- /**
97008
- * optional GetRecentNullifierChangesResponseV0 v0 = 1;
97009
- * @return {?proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0}
97010
- */
97011
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.prototype.getV0 = function() {
97012
- return /** @type{?proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0} */ (
97013
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0, 1));
97014
- };
97015
-
97016
-
97017
- /**
97018
- * @param {?proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0|undefined} value
97019
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse} returns this
97020
- */
97021
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.prototype.setV0 = function(value) {
97022
- return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.oneofGroups_[0], value);
97023
- };
97024
-
97025
-
97026
- /**
97027
- * Clears the message field making it undefined.
97028
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse} returns this
97029
- */
97030
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.prototype.clearV0 = function() {
97031
- return this.setV0(undefined);
97032
- };
97033
-
97034
-
97035
- /**
97036
- * Returns whether this field is set.
97037
- * @return {boolean}
97038
- */
97039
- proto.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.prototype.hasV0 = function() {
97040
- return jspb.Message.getField(this, 1) != null;
97041
- };
97042
-
97043
-
97044
-
97045
- /**
97046
- * List of repeated fields within this message type.
97047
- * @private {!Array<number>}
97048
- * @const
97049
- */
97050
- proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges.repeatedFields_ = [3];
97051
-
97052
-
97053
-
97054
- if (jspb.Message.GENERATE_TO_OBJECT) {
97055
- /**
97056
- * Creates an object representation of this proto.
97057
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
97058
- * Optional fields that are not set will be set to undefined.
97059
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
97060
- * For the list of reserved names please see:
97061
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
97062
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
97063
- * JSPB instance for transitional soy proto support:
97064
- * http://goto/soy-param-migration
97065
- * @return {!Object}
97066
- */
97067
- proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges.prototype.toObject = function(opt_includeInstance) {
97068
- return proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges.toObject(opt_includeInstance, this);
97069
- };
97070
-
97071
-
97072
- /**
97073
- * Static version of the {@see toObject} method.
97074
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
97075
- * the JSPB instance for transitional soy proto support:
97076
- * http://goto/soy-param-migration
97077
- * @param {!proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges} msg The msg instance to transform.
97078
- * @return {!Object}
97079
- * @suppress {unusedLocalVariables} f is only used for nested messages
97080
- */
97081
- proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges.toObject = function(includeInstance, msg) {
97082
- var f, obj = {
97083
- startBlockHeight: jspb.Message.getFieldWithDefault(msg, 1, "0"),
97084
- endBlockHeight: jspb.Message.getFieldWithDefault(msg, 2, "0"),
97085
- nullifiersList: msg.getNullifiersList_asB64()
97086
- };
97087
-
97088
- if (includeInstance) {
97089
- obj.$jspbMessageInstance = msg;
97090
- }
97091
- return obj;
97092
- };
97093
- }
97094
-
97095
-
97096
- /**
97097
- * Deserializes binary data (in protobuf wire format).
97098
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
97099
- * @return {!proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges}
97100
- */
97101
- proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges.deserializeBinary = function(bytes) {
97102
- var reader = new jspb.BinaryReader(bytes);
97103
- var msg = new proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges;
97104
- return proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges.deserializeBinaryFromReader(msg, reader);
97105
- };
97106
-
97107
-
97108
- /**
97109
- * Deserializes binary data (in protobuf wire format) from the
97110
- * given reader into the given message object.
97111
- * @param {!proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges} msg The message object to deserialize into.
97112
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
97113
- * @return {!proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges}
97114
- */
97115
- proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges.deserializeBinaryFromReader = function(msg, reader) {
97116
- while (reader.nextField()) {
97117
- if (reader.isEndGroup()) {
97118
- break;
97119
- }
97120
- var field = reader.getFieldNumber();
97121
- switch (field) {
97122
- case 1:
97123
- var value = /** @type {string} */ (reader.readUint64String());
97124
- msg.setStartBlockHeight(value);
97125
- break;
97126
- case 2:
97127
- var value = /** @type {string} */ (reader.readUint64String());
97128
- msg.setEndBlockHeight(value);
97129
- break;
97130
- case 3:
97131
- var value = /** @type {!Uint8Array} */ (reader.readBytes());
97132
- msg.addNullifiers(value);
97133
- break;
97134
- default:
97135
- reader.skipField();
97136
- break;
97137
- }
97138
- }
97139
- return msg;
97140
- };
97141
-
97142
-
97143
- /**
97144
- * Serializes the message to binary data (in protobuf wire format).
97145
- * @return {!Uint8Array}
97146
- */
97147
- proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges.prototype.serializeBinary = function() {
97148
- var writer = new jspb.BinaryWriter();
97149
- proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges.serializeBinaryToWriter(this, writer);
97150
- return writer.getResultBuffer();
97151
- };
97152
-
97153
-
97154
- /**
97155
- * Serializes the given message to binary data (in protobuf wire
97156
- * format), writing to the given BinaryWriter.
97157
- * @param {!proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges} message
97158
- * @param {!jspb.BinaryWriter} writer
97159
- * @suppress {unusedLocalVariables} f is only used for nested messages
97160
- */
97161
- proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges.serializeBinaryToWriter = function(message, writer) {
97162
- var f = undefined;
97163
- f = message.getStartBlockHeight();
97164
- if (parseInt(f, 10) !== 0) {
97165
- writer.writeUint64String(
97166
- 1,
97167
- f
97168
- );
97169
- }
97170
- f = message.getEndBlockHeight();
97171
- if (parseInt(f, 10) !== 0) {
97172
- writer.writeUint64String(
97173
- 2,
97174
- f
97175
- );
97176
- }
97177
- f = message.getNullifiersList_asU8();
97178
- if (f.length > 0) {
97179
- writer.writeRepeatedBytes(
97180
- 3,
97181
- f
97182
- );
97183
- }
97184
- };
97185
-
97186
-
97187
- /**
97188
- * optional uint64 start_block_height = 1;
97189
- * @return {string}
97190
- */
97191
- proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges.prototype.getStartBlockHeight = function() {
97192
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "0"));
97193
- };
97194
-
97195
-
97196
- /**
97197
- * @param {string} value
97198
- * @return {!proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges} returns this
97199
- */
97200
- proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges.prototype.setStartBlockHeight = function(value) {
97201
- return jspb.Message.setProto3StringIntField(this, 1, value);
97202
- };
97203
-
97204
-
97205
- /**
97206
- * optional uint64 end_block_height = 2;
97207
- * @return {string}
97208
- */
97209
- proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges.prototype.getEndBlockHeight = function() {
97210
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "0"));
97211
- };
97212
-
97213
-
97214
- /**
97215
- * @param {string} value
97216
- * @return {!proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges} returns this
97217
- */
97218
- proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges.prototype.setEndBlockHeight = function(value) {
97219
- return jspb.Message.setProto3StringIntField(this, 2, value);
97220
- };
97221
-
97222
-
97223
- /**
97224
- * repeated bytes nullifiers = 3;
97225
- * @return {!Array<string>}
97226
- */
97227
- proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges.prototype.getNullifiersList = function() {
97228
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
97229
- };
97230
-
97231
-
97232
- /**
97233
- * repeated bytes nullifiers = 3;
97234
- * This is a type-conversion wrapper around `getNullifiersList()`
97235
- * @return {!Array<string>}
97236
- */
97237
- proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges.prototype.getNullifiersList_asB64 = function() {
97238
- return /** @type {!Array<string>} */ (jspb.Message.bytesListAsB64(
97239
- this.getNullifiersList()));
97240
- };
97241
-
97242
-
97243
- /**
97244
- * repeated bytes nullifiers = 3;
97245
- * Note that Uint8Array is not supported on all browsers.
97246
- * @see http://caniuse.com/Uint8Array
97247
- * This is a type-conversion wrapper around `getNullifiersList()`
97248
- * @return {!Array<!Uint8Array>}
97249
- */
97250
- proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges.prototype.getNullifiersList_asU8 = function() {
97251
- return /** @type {!Array<!Uint8Array>} */ (jspb.Message.bytesListAsU8(
97252
- this.getNullifiersList()));
97253
- };
97254
-
97255
-
97256
- /**
97257
- * @param {!(Array<!Uint8Array>|Array<string>)} value
97258
- * @return {!proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges} returns this
97259
- */
97260
- proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges.prototype.setNullifiersList = function(value) {
97261
- return jspb.Message.setField(this, 3, value || []);
97262
- };
97263
-
97264
-
97265
- /**
97266
- * @param {!(string|Uint8Array)} value
97267
- * @param {number=} opt_index
97268
- * @return {!proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges} returns this
97269
- */
97270
- proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges.prototype.addNullifiers = function(value, opt_index) {
97271
- return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
97272
- };
97273
-
97274
-
97275
- /**
97276
- * Clears the list making it empty but non-null.
97277
- * @return {!proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges} returns this
97278
- */
97279
- proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges.prototype.clearNullifiersList = function() {
97280
- return this.setNullifiersList([]);
97281
- };
97282
-
97283
-
97284
-
97285
- /**
97286
- * List of repeated fields within this message type.
97287
- * @private {!Array<number>}
97288
- * @const
97289
- */
97290
- proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries.repeatedFields_ = [1];
97291
-
97292
-
97293
-
97294
- if (jspb.Message.GENERATE_TO_OBJECT) {
97295
- /**
97296
- * Creates an object representation of this proto.
97297
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
97298
- * Optional fields that are not set will be set to undefined.
97299
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
97300
- * For the list of reserved names please see:
97301
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
97302
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
97303
- * JSPB instance for transitional soy proto support:
97304
- * http://goto/soy-param-migration
97305
- * @return {!Object}
97306
- */
97307
- proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries.prototype.toObject = function(opt_includeInstance) {
97308
- return proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries.toObject(opt_includeInstance, this);
97309
- };
97310
-
97311
-
97312
- /**
97313
- * Static version of the {@see toObject} method.
97314
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
97315
- * the JSPB instance for transitional soy proto support:
97316
- * http://goto/soy-param-migration
97317
- * @param {!proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries} msg The msg instance to transform.
97318
- * @return {!Object}
97319
- * @suppress {unusedLocalVariables} f is only used for nested messages
97320
- */
97321
- proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries.toObject = function(includeInstance, msg) {
97322
- var f, obj = {
97323
- compactedBlockChangesList: jspb.Message.toObjectList(msg.getCompactedBlockChangesList(),
97324
- proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges.toObject, includeInstance)
97325
- };
97326
-
97327
- if (includeInstance) {
97328
- obj.$jspbMessageInstance = msg;
97329
- }
97330
- return obj;
97331
- };
97332
- }
97333
-
97334
-
97335
- /**
97336
- * Deserializes binary data (in protobuf wire format).
97337
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
97338
- * @return {!proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries}
97339
- */
97340
- proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries.deserializeBinary = function(bytes) {
97341
- var reader = new jspb.BinaryReader(bytes);
97342
- var msg = new proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries;
97343
- return proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries.deserializeBinaryFromReader(msg, reader);
97344
- };
97345
-
97346
-
97347
- /**
97348
- * Deserializes binary data (in protobuf wire format) from the
97349
- * given reader into the given message object.
97350
- * @param {!proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries} msg The message object to deserialize into.
97351
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
97352
- * @return {!proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries}
97353
- */
97354
- proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries.deserializeBinaryFromReader = function(msg, reader) {
97355
- while (reader.nextField()) {
97356
- if (reader.isEndGroup()) {
97357
- break;
97358
- }
97359
- var field = reader.getFieldNumber();
97360
- switch (field) {
97361
- case 1:
97362
- var value = new proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges;
97363
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges.deserializeBinaryFromReader);
97364
- msg.addCompactedBlockChanges(value);
97365
- break;
97366
- default:
97367
- reader.skipField();
97368
- break;
97369
- }
97370
- }
97371
- return msg;
97372
- };
97373
-
97374
-
97375
- /**
97376
- * Serializes the message to binary data (in protobuf wire format).
97377
- * @return {!Uint8Array}
97378
- */
97379
- proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries.prototype.serializeBinary = function() {
97380
- var writer = new jspb.BinaryWriter();
97381
- proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries.serializeBinaryToWriter(this, writer);
97382
- return writer.getResultBuffer();
97383
- };
97384
-
97385
-
97386
- /**
97387
- * Serializes the given message to binary data (in protobuf wire
97388
- * format), writing to the given BinaryWriter.
97389
- * @param {!proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries} message
97390
- * @param {!jspb.BinaryWriter} writer
97391
- * @suppress {unusedLocalVariables} f is only used for nested messages
97392
- */
97393
- proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries.serializeBinaryToWriter = function(message, writer) {
97394
- var f = undefined;
97395
- f = message.getCompactedBlockChangesList();
97396
- if (f.length > 0) {
97397
- writer.writeRepeatedMessage(
97398
- 1,
97399
- f,
97400
- proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges.serializeBinaryToWriter
97401
- );
97402
- }
97403
- };
97404
-
97405
-
97406
- /**
97407
- * repeated CompactedBlockNullifierChanges compacted_block_changes = 1;
97408
- * @return {!Array<!proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges>}
97409
- */
97410
- proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries.prototype.getCompactedBlockChangesList = function() {
97411
- return /** @type{!Array<!proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges>} */ (
97412
- jspb.Message.getRepeatedWrapperField(this, proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges, 1));
97413
- };
97414
-
97415
-
97416
- /**
97417
- * @param {!Array<!proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges>} value
97418
- * @return {!proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries} returns this
97419
- */
97420
- proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries.prototype.setCompactedBlockChangesList = function(value) {
97421
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
97422
- };
97423
-
97424
-
97425
- /**
97426
- * @param {!proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges=} opt_value
97427
- * @param {number=} opt_index
97428
- * @return {!proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges}
97429
- */
97430
- proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries.prototype.addCompactedBlockChanges = function(opt_value, opt_index) {
97431
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges, opt_index);
97432
- };
97433
-
97434
-
97435
- /**
97436
- * Clears the list making it empty but non-null.
97437
- * @return {!proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries} returns this
97438
- */
97439
- proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries.prototype.clearCompactedBlockChangesList = function() {
97440
- return this.setCompactedBlockChangesList([]);
97441
- };
97442
-
97443
-
97444
-
97445
- /**
97446
- * Oneof group definitions for this message. Each group defines the field
97447
- * numbers belonging to that group. When of these fields' value is set, all
97448
- * other fields in the group are cleared. During deserialization, if multiple
97449
- * fields are encountered for a group, only the last value seen will be kept.
97450
- * @private {!Array<!Array<number>>}
97451
- * @const
97452
- */
97453
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.oneofGroups_ = [[1]];
97454
-
97455
- /**
97456
- * @enum {number}
97457
- */
97458
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.VersionCase = {
97459
- VERSION_NOT_SET: 0,
97460
- V0: 1
97461
- };
97462
-
97463
- /**
97464
- * @return {proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.VersionCase}
97465
- */
97466
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.prototype.getVersionCase = function() {
97467
- return /** @type {proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.oneofGroups_[0]));
97468
- };
97469
-
97470
-
97471
-
97472
- if (jspb.Message.GENERATE_TO_OBJECT) {
97473
- /**
97474
- * Creates an object representation of this proto.
97475
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
97476
- * Optional fields that are not set will be set to undefined.
97477
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
97478
- * For the list of reserved names please see:
97479
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
97480
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
97481
- * JSPB instance for transitional soy proto support:
97482
- * http://goto/soy-param-migration
97483
- * @return {!Object}
97484
- */
97485
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.prototype.toObject = function(opt_includeInstance) {
97486
- return proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.toObject(opt_includeInstance, this);
97487
- };
97488
-
97489
-
97490
- /**
97491
- * Static version of the {@see toObject} method.
97492
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
97493
- * the JSPB instance for transitional soy proto support:
97494
- * http://goto/soy-param-migration
97495
- * @param {!proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest} msg The msg instance to transform.
97496
- * @return {!Object}
97497
- * @suppress {unusedLocalVariables} f is only used for nested messages
97498
- */
97499
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.toObject = function(includeInstance, msg) {
97500
- var f, obj = {
97501
- v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0.toObject(includeInstance, f)
97502
- };
97503
-
97504
- if (includeInstance) {
97505
- obj.$jspbMessageInstance = msg;
97506
- }
97507
- return obj;
97508
- };
97509
- }
97510
-
97511
-
97512
- /**
97513
- * Deserializes binary data (in protobuf wire format).
97514
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
97515
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest}
97516
- */
97517
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.deserializeBinary = function(bytes) {
97518
- var reader = new jspb.BinaryReader(bytes);
97519
- var msg = new proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest;
97520
- return proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.deserializeBinaryFromReader(msg, reader);
97521
- };
97522
-
97523
-
97524
- /**
97525
- * Deserializes binary data (in protobuf wire format) from the
97526
- * given reader into the given message object.
97527
- * @param {!proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest} msg The message object to deserialize into.
97528
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
97529
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest}
97530
- */
97531
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.deserializeBinaryFromReader = function(msg, reader) {
97532
- while (reader.nextField()) {
97533
- if (reader.isEndGroup()) {
97534
- break;
97535
- }
97536
- var field = reader.getFieldNumber();
97537
- switch (field) {
97538
- case 1:
97539
- var value = new proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0;
97540
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0.deserializeBinaryFromReader);
97541
- msg.setV0(value);
97542
- break;
97543
- default:
97544
- reader.skipField();
97545
- break;
97546
- }
97547
- }
97548
- return msg;
97549
- };
97550
-
97551
-
97552
- /**
97553
- * Serializes the message to binary data (in protobuf wire format).
97554
- * @return {!Uint8Array}
97555
- */
97556
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.prototype.serializeBinary = function() {
97557
- var writer = new jspb.BinaryWriter();
97558
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.serializeBinaryToWriter(this, writer);
97559
- return writer.getResultBuffer();
97560
- };
97561
-
97562
-
97563
- /**
97564
- * Serializes the given message to binary data (in protobuf wire
97565
- * format), writing to the given BinaryWriter.
97566
- * @param {!proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest} message
97567
- * @param {!jspb.BinaryWriter} writer
97568
- * @suppress {unusedLocalVariables} f is only used for nested messages
97569
- */
97570
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.serializeBinaryToWriter = function(message, writer) {
97571
- var f = undefined;
97572
- f = message.getV0();
97573
- if (f != null) {
97574
- writer.writeMessage(
97575
- 1,
97576
- f,
97577
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0.serializeBinaryToWriter
97578
- );
97579
- }
97580
- };
97581
-
97582
-
97583
-
97584
-
97585
-
97586
- if (jspb.Message.GENERATE_TO_OBJECT) {
97587
- /**
97588
- * Creates an object representation of this proto.
97589
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
97590
- * Optional fields that are not set will be set to undefined.
97591
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
97592
- * For the list of reserved names please see:
97593
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
97594
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
97595
- * JSPB instance for transitional soy proto support:
97596
- * http://goto/soy-param-migration
97597
- * @return {!Object}
97598
- */
97599
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0.prototype.toObject = function(opt_includeInstance) {
97600
- return proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0.toObject(opt_includeInstance, this);
97601
- };
97602
-
97603
-
97604
- /**
97605
- * Static version of the {@see toObject} method.
97606
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
97607
- * the JSPB instance for transitional soy proto support:
97608
- * http://goto/soy-param-migration
97609
- * @param {!proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0} msg The msg instance to transform.
97610
- * @return {!Object}
97611
- * @suppress {unusedLocalVariables} f is only used for nested messages
97612
- */
97613
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0.toObject = function(includeInstance, msg) {
97614
- var f, obj = {
97615
- startBlockHeight: jspb.Message.getFieldWithDefault(msg, 1, "0"),
97616
- prove: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
97617
- };
97618
-
97619
- if (includeInstance) {
97620
- obj.$jspbMessageInstance = msg;
97621
- }
97622
- return obj;
97623
- };
97624
- }
97625
-
97626
-
97627
- /**
97628
- * Deserializes binary data (in protobuf wire format).
97629
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
97630
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0}
97631
- */
97632
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0.deserializeBinary = function(bytes) {
97633
- var reader = new jspb.BinaryReader(bytes);
97634
- var msg = new proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0;
97635
- return proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0.deserializeBinaryFromReader(msg, reader);
97636
- };
97637
-
97638
-
97639
- /**
97640
- * Deserializes binary data (in protobuf wire format) from the
97641
- * given reader into the given message object.
97642
- * @param {!proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0} msg The message object to deserialize into.
97643
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
97644
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0}
97645
- */
97646
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0.deserializeBinaryFromReader = function(msg, reader) {
97647
- while (reader.nextField()) {
97648
- if (reader.isEndGroup()) {
97649
- break;
97650
- }
97651
- var field = reader.getFieldNumber();
97652
- switch (field) {
97653
- case 1:
97654
- var value = /** @type {string} */ (reader.readUint64String());
97655
- msg.setStartBlockHeight(value);
97656
- break;
97657
- case 2:
97658
- var value = /** @type {boolean} */ (reader.readBool());
97659
- msg.setProve(value);
97660
- break;
97661
- default:
97662
- reader.skipField();
97663
- break;
97664
- }
97665
- }
97666
- return msg;
97667
- };
97668
-
97669
-
97670
- /**
97671
- * Serializes the message to binary data (in protobuf wire format).
97672
- * @return {!Uint8Array}
97673
- */
97674
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0.prototype.serializeBinary = function() {
97675
- var writer = new jspb.BinaryWriter();
97676
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0.serializeBinaryToWriter(this, writer);
97677
- return writer.getResultBuffer();
97678
- };
97679
-
97680
-
97681
- /**
97682
- * Serializes the given message to binary data (in protobuf wire
97683
- * format), writing to the given BinaryWriter.
97684
- * @param {!proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0} message
97685
- * @param {!jspb.BinaryWriter} writer
97686
- * @suppress {unusedLocalVariables} f is only used for nested messages
97687
- */
97688
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0.serializeBinaryToWriter = function(message, writer) {
97689
- var f = undefined;
97690
- f = message.getStartBlockHeight();
97691
- if (parseInt(f, 10) !== 0) {
97692
- writer.writeUint64String(
97693
- 1,
97694
- f
97695
- );
97696
- }
97697
- f = message.getProve();
97698
- if (f) {
97699
- writer.writeBool(
97700
- 2,
97701
- f
97702
- );
97703
- }
97704
- };
97705
-
97706
-
97707
- /**
97708
- * optional uint64 start_block_height = 1;
97709
- * @return {string}
97710
- */
97711
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0.prototype.getStartBlockHeight = function() {
97712
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "0"));
97713
- };
97714
-
97715
-
97716
- /**
97717
- * @param {string} value
97718
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0} returns this
97719
- */
97720
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0.prototype.setStartBlockHeight = function(value) {
97721
- return jspb.Message.setProto3StringIntField(this, 1, value);
97722
- };
97723
-
97724
-
97725
- /**
97726
- * optional bool prove = 2;
97727
- * @return {boolean}
97728
- */
97729
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0.prototype.getProve = function() {
97730
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
97731
- };
97732
-
97733
-
97734
- /**
97735
- * @param {boolean} value
97736
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0} returns this
97737
- */
97738
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0.prototype.setProve = function(value) {
97739
- return jspb.Message.setProto3BooleanField(this, 2, value);
97740
- };
97741
-
97742
-
97743
- /**
97744
- * optional GetRecentCompactedNullifierChangesRequestV0 v0 = 1;
97745
- * @return {?proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0}
97746
- */
97747
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.prototype.getV0 = function() {
97748
- return /** @type{?proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0} */ (
97749
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0, 1));
97750
- };
97751
-
97752
-
97753
- /**
97754
- * @param {?proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0|undefined} value
97755
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest} returns this
97756
- */
97757
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.prototype.setV0 = function(value) {
97758
- return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.oneofGroups_[0], value);
97759
- };
97760
-
97761
-
97762
- /**
97763
- * Clears the message field making it undefined.
97764
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest} returns this
97765
- */
97766
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.prototype.clearV0 = function() {
97767
- return this.setV0(undefined);
97768
- };
97769
-
97770
-
97771
- /**
97772
- * Returns whether this field is set.
97773
- * @return {boolean}
97774
- */
97775
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.prototype.hasV0 = function() {
97776
- return jspb.Message.getField(this, 1) != null;
97777
- };
97778
-
97779
-
97780
-
97781
- /**
97782
- * Oneof group definitions for this message. Each group defines the field
97783
- * numbers belonging to that group. When of these fields' value is set, all
97784
- * other fields in the group are cleared. During deserialization, if multiple
97785
- * fields are encountered for a group, only the last value seen will be kept.
97786
- * @private {!Array<!Array<number>>}
97787
- * @const
97788
- */
97789
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.oneofGroups_ = [[1]];
97790
-
97791
- /**
97792
- * @enum {number}
97793
- */
97794
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.VersionCase = {
97795
- VERSION_NOT_SET: 0,
97796
- V0: 1
97797
- };
97798
-
97799
- /**
97800
- * @return {proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.VersionCase}
97801
- */
97802
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.prototype.getVersionCase = function() {
97803
- return /** @type {proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.oneofGroups_[0]));
97804
- };
97805
-
97806
-
97807
-
97808
- if (jspb.Message.GENERATE_TO_OBJECT) {
97809
- /**
97810
- * Creates an object representation of this proto.
97811
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
97812
- * Optional fields that are not set will be set to undefined.
97813
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
97814
- * For the list of reserved names please see:
97815
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
97816
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
97817
- * JSPB instance for transitional soy proto support:
97818
- * http://goto/soy-param-migration
97819
- * @return {!Object}
97820
- */
97821
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.prototype.toObject = function(opt_includeInstance) {
97822
- return proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.toObject(opt_includeInstance, this);
97823
- };
97824
-
97825
-
97826
- /**
97827
- * Static version of the {@see toObject} method.
97828
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
97829
- * the JSPB instance for transitional soy proto support:
97830
- * http://goto/soy-param-migration
97831
- * @param {!proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse} msg The msg instance to transform.
97832
- * @return {!Object}
97833
- * @suppress {unusedLocalVariables} f is only used for nested messages
97834
- */
97835
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.toObject = function(includeInstance, msg) {
97836
- var f, obj = {
97837
- v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.toObject(includeInstance, f)
97838
- };
97839
-
97840
- if (includeInstance) {
97841
- obj.$jspbMessageInstance = msg;
97842
- }
97843
- return obj;
97844
- };
97845
- }
97846
-
97847
-
97848
- /**
97849
- * Deserializes binary data (in protobuf wire format).
97850
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
97851
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse}
97852
- */
97853
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.deserializeBinary = function(bytes) {
97854
- var reader = new jspb.BinaryReader(bytes);
97855
- var msg = new proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse;
97856
- return proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.deserializeBinaryFromReader(msg, reader);
97857
- };
97858
-
97859
-
97860
- /**
97861
- * Deserializes binary data (in protobuf wire format) from the
97862
- * given reader into the given message object.
97863
- * @param {!proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse} msg The message object to deserialize into.
97864
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
97865
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse}
97866
- */
97867
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.deserializeBinaryFromReader = function(msg, reader) {
97868
- while (reader.nextField()) {
97869
- if (reader.isEndGroup()) {
97870
- break;
97871
- }
97872
- var field = reader.getFieldNumber();
97873
- switch (field) {
97874
- case 1:
97875
- var value = new proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0;
97876
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.deserializeBinaryFromReader);
97877
- msg.setV0(value);
97878
- break;
97879
- default:
97880
- reader.skipField();
97881
- break;
97882
- }
97883
- }
97884
- return msg;
97885
- };
97886
-
97887
-
97888
- /**
97889
- * Serializes the message to binary data (in protobuf wire format).
97890
- * @return {!Uint8Array}
97891
- */
97892
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.prototype.serializeBinary = function() {
97893
- var writer = new jspb.BinaryWriter();
97894
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.serializeBinaryToWriter(this, writer);
97895
- return writer.getResultBuffer();
97896
- };
97897
-
97898
-
97899
- /**
97900
- * Serializes the given message to binary data (in protobuf wire
97901
- * format), writing to the given BinaryWriter.
97902
- * @param {!proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse} message
97903
- * @param {!jspb.BinaryWriter} writer
97904
- * @suppress {unusedLocalVariables} f is only used for nested messages
97905
- */
97906
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.serializeBinaryToWriter = function(message, writer) {
97907
- var f = undefined;
97908
- f = message.getV0();
97909
- if (f != null) {
97910
- writer.writeMessage(
97911
- 1,
97912
- f,
97913
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.serializeBinaryToWriter
97914
- );
97915
- }
97916
- };
97917
-
97918
-
97919
-
97920
- /**
97921
- * Oneof group definitions for this message. Each group defines the field
97922
- * numbers belonging to that group. When of these fields' value is set, all
97923
- * other fields in the group are cleared. During deserialization, if multiple
97924
- * fields are encountered for a group, only the last value seen will be kept.
97925
- * @private {!Array<!Array<number>>}
97926
- * @const
97927
- */
97928
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.oneofGroups_ = [[1,2]];
97929
-
97930
- /**
97931
- * @enum {number}
97932
- */
97933
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.ResultCase = {
97934
- RESULT_NOT_SET: 0,
97935
- COMPACTED_NULLIFIER_UPDATE_ENTRIES: 1,
97936
- PROOF: 2
97937
- };
97938
-
97939
- /**
97940
- * @return {proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.ResultCase}
97941
- */
97942
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.prototype.getResultCase = function() {
97943
- return /** @type {proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.oneofGroups_[0]));
97944
- };
97945
-
97946
-
97947
-
97948
- if (jspb.Message.GENERATE_TO_OBJECT) {
97949
- /**
97950
- * Creates an object representation of this proto.
97951
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
97952
- * Optional fields that are not set will be set to undefined.
97953
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
97954
- * For the list of reserved names please see:
97955
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
97956
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
97957
- * JSPB instance for transitional soy proto support:
97958
- * http://goto/soy-param-migration
97959
- * @return {!Object}
97960
- */
97961
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.prototype.toObject = function(opt_includeInstance) {
97962
- return proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.toObject(opt_includeInstance, this);
97963
- };
97964
-
97965
-
97966
- /**
97967
- * Static version of the {@see toObject} method.
97968
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
97969
- * the JSPB instance for transitional soy proto support:
97970
- * http://goto/soy-param-migration
97971
- * @param {!proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0} msg The msg instance to transform.
97972
- * @return {!Object}
97973
- * @suppress {unusedLocalVariables} f is only used for nested messages
97974
- */
97975
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.toObject = function(includeInstance, msg) {
97976
- var f, obj = {
97977
- compactedNullifierUpdateEntries: (f = msg.getCompactedNullifierUpdateEntries()) && proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries.toObject(includeInstance, f),
97978
- proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
97979
- metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
97980
- };
97981
-
97982
- if (includeInstance) {
97983
- obj.$jspbMessageInstance = msg;
97984
- }
97985
- return obj;
97986
- };
97987
- }
97988
-
97989
-
97990
- /**
97991
- * Deserializes binary data (in protobuf wire format).
97992
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
97993
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0}
97994
- */
97995
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.deserializeBinary = function(bytes) {
97996
- var reader = new jspb.BinaryReader(bytes);
97997
- var msg = new proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0;
97998
- return proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.deserializeBinaryFromReader(msg, reader);
97999
- };
98000
-
98001
-
98002
- /**
98003
- * Deserializes binary data (in protobuf wire format) from the
98004
- * given reader into the given message object.
98005
- * @param {!proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0} msg The message object to deserialize into.
98006
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
98007
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0}
98008
- */
98009
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.deserializeBinaryFromReader = function(msg, reader) {
98010
- while (reader.nextField()) {
98011
- if (reader.isEndGroup()) {
98012
- break;
98013
- }
98014
- var field = reader.getFieldNumber();
98015
- switch (field) {
98016
- case 1:
98017
- var value = new proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries;
98018
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries.deserializeBinaryFromReader);
98019
- msg.setCompactedNullifierUpdateEntries(value);
98020
- break;
98021
- case 2:
98022
- var value = new proto.org.dash.platform.dapi.v0.Proof;
98023
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
98024
- msg.setProof(value);
98025
- break;
98026
- case 3:
98027
- var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
98028
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
98029
- msg.setMetadata(value);
98030
- break;
98031
- default:
98032
- reader.skipField();
98033
- break;
98034
- }
98035
- }
98036
- return msg;
98037
- };
98038
-
98039
-
98040
- /**
98041
- * Serializes the message to binary data (in protobuf wire format).
98042
- * @return {!Uint8Array}
98043
- */
98044
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.prototype.serializeBinary = function() {
98045
- var writer = new jspb.BinaryWriter();
98046
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.serializeBinaryToWriter(this, writer);
98047
- return writer.getResultBuffer();
98048
- };
98049
-
98050
-
98051
- /**
98052
- * Serializes the given message to binary data (in protobuf wire
98053
- * format), writing to the given BinaryWriter.
98054
- * @param {!proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0} message
98055
- * @param {!jspb.BinaryWriter} writer
98056
- * @suppress {unusedLocalVariables} f is only used for nested messages
98057
- */
98058
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.serializeBinaryToWriter = function(message, writer) {
98059
- var f = undefined;
98060
- f = message.getCompactedNullifierUpdateEntries();
98061
- if (f != null) {
98062
- writer.writeMessage(
98063
- 1,
98064
- f,
98065
- proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries.serializeBinaryToWriter
98066
- );
98067
- }
98068
- f = message.getProof();
98069
- if (f != null) {
98070
- writer.writeMessage(
98071
- 2,
98072
- f,
98073
- proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
98074
- );
98075
- }
98076
- f = message.getMetadata();
98077
- if (f != null) {
98078
- writer.writeMessage(
98079
- 3,
98080
- f,
98081
- proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
98082
- );
98083
- }
98084
- };
98085
-
98086
-
98087
- /**
98088
- * optional CompactedNullifierUpdateEntries compacted_nullifier_update_entries = 1;
98089
- * @return {?proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries}
98090
- */
98091
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.prototype.getCompactedNullifierUpdateEntries = function() {
98092
- return /** @type{?proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries} */ (
98093
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries, 1));
98094
- };
98095
-
98096
-
98097
- /**
98098
- * @param {?proto.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntries|undefined} value
98099
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0} returns this
98100
- */
98101
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.prototype.setCompactedNullifierUpdateEntries = function(value) {
98102
- return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.oneofGroups_[0], value);
98103
- };
98104
-
98105
-
98106
- /**
98107
- * Clears the message field making it undefined.
98108
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0} returns this
98109
- */
98110
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.prototype.clearCompactedNullifierUpdateEntries = function() {
98111
- return this.setCompactedNullifierUpdateEntries(undefined);
98112
- };
98113
-
98114
-
98115
- /**
98116
- * Returns whether this field is set.
98117
- * @return {boolean}
98118
- */
98119
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.prototype.hasCompactedNullifierUpdateEntries = function() {
98120
- return jspb.Message.getField(this, 1) != null;
98121
- };
98122
-
98123
-
98124
- /**
98125
- * optional Proof proof = 2;
98126
- * @return {?proto.org.dash.platform.dapi.v0.Proof}
98127
- */
98128
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.prototype.getProof = function() {
98129
- return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ (
98130
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
98131
- };
98132
-
98133
-
98134
- /**
98135
- * @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value
98136
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0} returns this
98137
- */
98138
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.prototype.setProof = function(value) {
98139
- return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.oneofGroups_[0], value);
98140
- };
98141
-
98142
-
98143
- /**
98144
- * Clears the message field making it undefined.
98145
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0} returns this
98146
- */
98147
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.prototype.clearProof = function() {
98148
- return this.setProof(undefined);
98149
- };
98150
-
98151
-
98152
- /**
98153
- * Returns whether this field is set.
98154
- * @return {boolean}
98155
- */
98156
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.prototype.hasProof = function() {
98157
- return jspb.Message.getField(this, 2) != null;
98158
- };
98159
-
98160
-
98161
- /**
98162
- * optional ResponseMetadata metadata = 3;
98163
- * @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata}
98164
- */
98165
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.prototype.getMetadata = function() {
98166
- return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ (
98167
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3));
98168
- };
98169
-
98170
-
98171
- /**
98172
- * @param {?proto.org.dash.platform.dapi.v0.ResponseMetadata|undefined} value
98173
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0} returns this
98174
- */
98175
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.prototype.setMetadata = function(value) {
98176
- return jspb.Message.setWrapperField(this, 3, value);
98177
- };
98178
-
98179
-
98180
- /**
98181
- * Clears the message field making it undefined.
98182
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0} returns this
98183
- */
98184
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.prototype.clearMetadata = function() {
98185
- return this.setMetadata(undefined);
98186
- };
98187
-
98188
-
98189
- /**
98190
- * Returns whether this field is set.
98191
- * @return {boolean}
98192
- */
98193
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0.prototype.hasMetadata = function() {
98194
- return jspb.Message.getField(this, 3) != null;
98195
- };
98196
-
98197
-
98198
- /**
98199
- * optional GetRecentCompactedNullifierChangesResponseV0 v0 = 1;
98200
- * @return {?proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0}
98201
- */
98202
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.prototype.getV0 = function() {
98203
- return /** @type{?proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0} */ (
98204
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0, 1));
98205
- };
98206
-
98207
-
98208
- /**
98209
- * @param {?proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0|undefined} value
98210
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse} returns this
98211
- */
98212
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.prototype.setV0 = function(value) {
98213
- return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.oneofGroups_[0], value);
98214
- };
98215
-
98216
-
98217
- /**
98218
- * Clears the message field making it undefined.
98219
- * @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse} returns this
98220
- */
98221
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.prototype.clearV0 = function() {
98222
- return this.setV0(undefined);
98223
- };
98224
-
98225
-
98226
- /**
98227
- * Returns whether this field is set.
98228
- * @return {boolean}
98229
- */
98230
- proto.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.prototype.hasV0 = function() {
98231
- return jspb.Message.getField(this, 1) != null;
98232
- };
98233
-
98234
-
98235
93891
  /**
98236
93892
  * @enum {number}
98237
93893
  */