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