@dashevo/dapi-grpc 2.0.0-rc.9 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Cargo.toml +1 -1
- package/build.rs +6 -2
- package/clients/drive/v0/nodejs/drive_pbjs.js +3936 -736
- package/clients/platform/v0/nodejs/platform_pbjs.js +3936 -736
- package/clients/platform/v0/nodejs/platform_protoc.js +3447 -379
- package/clients/platform/v0/web/platform_pb.d.ts +431 -25
- package/clients/platform/v0/web/platform_pb.js +3447 -379
- package/clients/platform/v0/web/platform_pb_service.d.ts +38 -0
- package/clients/platform/v0/web/platform_pb_service.js +80 -0
- package/package.json +2 -2
- package/protos/platform/v0/platform.proto +130 -17
|
@@ -139,6 +139,16 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlock
|
|
|
139
139
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksResponse.GetEvonodesProposedEpochBlocksResponseV0.EvonodesProposedBlocks', null, { proto });
|
|
140
140
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksResponse.GetEvonodesProposedEpochBlocksResponseV0.ResultCase', null, { proto });
|
|
141
141
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksResponse.VersionCase', null, { proto });
|
|
142
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest', null, { proto });
|
|
143
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0', null, { proto });
|
|
144
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.VersionCase', null, { proto });
|
|
145
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse', null, { proto });
|
|
146
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0', null, { proto });
|
|
147
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer', null, { proto });
|
|
148
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo', null, { proto });
|
|
149
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos', null, { proto });
|
|
150
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.ResultCase', null, { proto });
|
|
151
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.VersionCase', null, { proto });
|
|
142
152
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetGroupActionSignersRequest', null, { proto });
|
|
143
153
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetGroupActionSignersRequest.ActionStatus', null, { proto });
|
|
144
154
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetGroupActionSignersRequest.GetGroupActionSignersRequestV0', null, { proto });
|
|
@@ -371,6 +381,14 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusRe
|
|
|
371
381
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Version.Protocol.Tenderdash', null, { proto });
|
|
372
382
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Version.Software', null, { proto });
|
|
373
383
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetStatusResponse.VersionCase', null, { proto });
|
|
384
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest', null, { proto });
|
|
385
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0', null, { proto });
|
|
386
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.VersionCase', null, { proto });
|
|
387
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse', null, { proto });
|
|
388
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0', null, { proto });
|
|
389
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.ResultCase', null, { proto });
|
|
390
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData', null, { proto });
|
|
391
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.VersionCase', null, { proto });
|
|
374
392
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest', null, { proto });
|
|
375
393
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0', null, { proto });
|
|
376
394
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.VersionCase', null, { proto });
|
|
@@ -2892,6 +2910,153 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2892
2910
|
*/
|
|
2893
2911
|
proto.org.dash.platform.dapi.v0.GetEpochsInfoResponse.GetEpochsInfoResponseV0.EpochInfo.displayName = 'proto.org.dash.platform.dapi.v0.GetEpochsInfoResponse.GetEpochsInfoResponseV0.EpochInfo';
|
|
2894
2912
|
}
|
|
2913
|
+
/**
|
|
2914
|
+
* Generated by JsPbCodeGenerator.
|
|
2915
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2916
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2917
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2918
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2919
|
+
* valid.
|
|
2920
|
+
* @extends {jspb.Message}
|
|
2921
|
+
* @constructor
|
|
2922
|
+
*/
|
|
2923
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest = function(opt_data) {
|
|
2924
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.oneofGroups_);
|
|
2925
|
+
};
|
|
2926
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest, jspb.Message);
|
|
2927
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2928
|
+
/**
|
|
2929
|
+
* @public
|
|
2930
|
+
* @override
|
|
2931
|
+
*/
|
|
2932
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest';
|
|
2933
|
+
}
|
|
2934
|
+
/**
|
|
2935
|
+
* Generated by JsPbCodeGenerator.
|
|
2936
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2937
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2938
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2939
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2940
|
+
* valid.
|
|
2941
|
+
* @extends {jspb.Message}
|
|
2942
|
+
* @constructor
|
|
2943
|
+
*/
|
|
2944
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0 = function(opt_data) {
|
|
2945
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2946
|
+
};
|
|
2947
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0, jspb.Message);
|
|
2948
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2949
|
+
/**
|
|
2950
|
+
* @public
|
|
2951
|
+
* @override
|
|
2952
|
+
*/
|
|
2953
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0';
|
|
2954
|
+
}
|
|
2955
|
+
/**
|
|
2956
|
+
* Generated by JsPbCodeGenerator.
|
|
2957
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2958
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2959
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2960
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2961
|
+
* valid.
|
|
2962
|
+
* @extends {jspb.Message}
|
|
2963
|
+
* @constructor
|
|
2964
|
+
*/
|
|
2965
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse = function(opt_data) {
|
|
2966
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.oneofGroups_);
|
|
2967
|
+
};
|
|
2968
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse, jspb.Message);
|
|
2969
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2970
|
+
/**
|
|
2971
|
+
* @public
|
|
2972
|
+
* @override
|
|
2973
|
+
*/
|
|
2974
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse';
|
|
2975
|
+
}
|
|
2976
|
+
/**
|
|
2977
|
+
* Generated by JsPbCodeGenerator.
|
|
2978
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2979
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2980
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2981
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2982
|
+
* valid.
|
|
2983
|
+
* @extends {jspb.Message}
|
|
2984
|
+
* @constructor
|
|
2985
|
+
*/
|
|
2986
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0 = function(opt_data) {
|
|
2987
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.oneofGroups_);
|
|
2988
|
+
};
|
|
2989
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0, jspb.Message);
|
|
2990
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2991
|
+
/**
|
|
2992
|
+
* @public
|
|
2993
|
+
* @override
|
|
2994
|
+
*/
|
|
2995
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.displayName = 'proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0';
|
|
2996
|
+
}
|
|
2997
|
+
/**
|
|
2998
|
+
* Generated by JsPbCodeGenerator.
|
|
2999
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3000
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3001
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3002
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3003
|
+
* valid.
|
|
3004
|
+
* @extends {jspb.Message}
|
|
3005
|
+
* @constructor
|
|
3006
|
+
*/
|
|
3007
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos = function(opt_data) {
|
|
3008
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos.repeatedFields_, null);
|
|
3009
|
+
};
|
|
3010
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos, jspb.Message);
|
|
3011
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3012
|
+
/**
|
|
3013
|
+
* @public
|
|
3014
|
+
* @override
|
|
3015
|
+
*/
|
|
3016
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos.displayName = 'proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos';
|
|
3017
|
+
}
|
|
3018
|
+
/**
|
|
3019
|
+
* Generated by JsPbCodeGenerator.
|
|
3020
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3021
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3022
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3023
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3024
|
+
* valid.
|
|
3025
|
+
* @extends {jspb.Message}
|
|
3026
|
+
* @constructor
|
|
3027
|
+
*/
|
|
3028
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo = function(opt_data) {
|
|
3029
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.repeatedFields_, null);
|
|
3030
|
+
};
|
|
3031
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo, jspb.Message);
|
|
3032
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3033
|
+
/**
|
|
3034
|
+
* @public
|
|
3035
|
+
* @override
|
|
3036
|
+
*/
|
|
3037
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.displayName = 'proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo';
|
|
3038
|
+
}
|
|
3039
|
+
/**
|
|
3040
|
+
* Generated by JsPbCodeGenerator.
|
|
3041
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3042
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3043
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3044
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3045
|
+
* valid.
|
|
3046
|
+
* @extends {jspb.Message}
|
|
3047
|
+
* @constructor
|
|
3048
|
+
*/
|
|
3049
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer = function(opt_data) {
|
|
3050
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3051
|
+
};
|
|
3052
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer, jspb.Message);
|
|
3053
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3054
|
+
/**
|
|
3055
|
+
* @public
|
|
3056
|
+
* @override
|
|
3057
|
+
*/
|
|
3058
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer.displayName = 'proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer';
|
|
3059
|
+
}
|
|
2895
3060
|
/**
|
|
2896
3061
|
* Generated by JsPbCodeGenerator.
|
|
2897
3062
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -5013,6 +5178,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
5013
5178
|
*/
|
|
5014
5179
|
proto.org.dash.platform.dapi.v0.GetTokenStatusesResponse.GetTokenStatusesResponseV0.TokenStatuses.displayName = 'proto.org.dash.platform.dapi.v0.GetTokenStatusesResponse.GetTokenStatusesResponseV0.TokenStatuses';
|
|
5015
5180
|
}
|
|
5181
|
+
/**
|
|
5182
|
+
* Generated by JsPbCodeGenerator.
|
|
5183
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5184
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5185
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5186
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5187
|
+
* valid.
|
|
5188
|
+
* @extends {jspb.Message}
|
|
5189
|
+
* @constructor
|
|
5190
|
+
*/
|
|
5191
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest = function(opt_data) {
|
|
5192
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.oneofGroups_);
|
|
5193
|
+
};
|
|
5194
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest, jspb.Message);
|
|
5195
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5196
|
+
/**
|
|
5197
|
+
* @public
|
|
5198
|
+
* @override
|
|
5199
|
+
*/
|
|
5200
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest';
|
|
5201
|
+
}
|
|
5202
|
+
/**
|
|
5203
|
+
* Generated by JsPbCodeGenerator.
|
|
5204
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5205
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5206
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5207
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5208
|
+
* valid.
|
|
5209
|
+
* @extends {jspb.Message}
|
|
5210
|
+
* @constructor
|
|
5211
|
+
*/
|
|
5212
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0 = function(opt_data) {
|
|
5213
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0.repeatedFields_, null);
|
|
5214
|
+
};
|
|
5215
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0, jspb.Message);
|
|
5216
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5217
|
+
/**
|
|
5218
|
+
* @public
|
|
5219
|
+
* @override
|
|
5220
|
+
*/
|
|
5221
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0';
|
|
5222
|
+
}
|
|
5016
5223
|
/**
|
|
5017
5224
|
* Generated by JsPbCodeGenerator.
|
|
5018
5225
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -5149,16 +5356,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
5149
5356
|
* @extends {jspb.Message}
|
|
5150
5357
|
* @constructor
|
|
5151
5358
|
*/
|
|
5152
|
-
proto.org.dash.platform.dapi.v0.
|
|
5153
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.
|
|
5359
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest = function(opt_data) {
|
|
5360
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.oneofGroups_);
|
|
5154
5361
|
};
|
|
5155
|
-
goog.inherits(proto.org.dash.platform.dapi.v0.
|
|
5362
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest, jspb.Message);
|
|
5156
5363
|
if (goog.DEBUG && !COMPILED) {
|
|
5157
5364
|
/**
|
|
5158
5365
|
* @public
|
|
5159
5366
|
* @override
|
|
5160
5367
|
*/
|
|
5161
|
-
proto.org.dash.platform.dapi.v0.
|
|
5368
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest';
|
|
5162
5369
|
}
|
|
5163
5370
|
/**
|
|
5164
5371
|
* Generated by JsPbCodeGenerator.
|
|
@@ -5170,16 +5377,79 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
5170
5377
|
* @extends {jspb.Message}
|
|
5171
5378
|
* @constructor
|
|
5172
5379
|
*/
|
|
5173
|
-
proto.org.dash.platform.dapi.v0.
|
|
5174
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
5380
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0 = function(opt_data) {
|
|
5381
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5175
5382
|
};
|
|
5176
|
-
goog.inherits(proto.org.dash.platform.dapi.v0.
|
|
5383
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0, jspb.Message);
|
|
5177
5384
|
if (goog.DEBUG && !COMPILED) {
|
|
5178
5385
|
/**
|
|
5179
5386
|
* @public
|
|
5180
5387
|
* @override
|
|
5181
5388
|
*/
|
|
5182
|
-
proto.org.dash.platform.dapi.v0.
|
|
5389
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0';
|
|
5390
|
+
}
|
|
5391
|
+
/**
|
|
5392
|
+
* Generated by JsPbCodeGenerator.
|
|
5393
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5394
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5395
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5396
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5397
|
+
* valid.
|
|
5398
|
+
* @extends {jspb.Message}
|
|
5399
|
+
* @constructor
|
|
5400
|
+
*/
|
|
5401
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse = function(opt_data) {
|
|
5402
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.oneofGroups_);
|
|
5403
|
+
};
|
|
5404
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse, jspb.Message);
|
|
5405
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5406
|
+
/**
|
|
5407
|
+
* @public
|
|
5408
|
+
* @override
|
|
5409
|
+
*/
|
|
5410
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse';
|
|
5411
|
+
}
|
|
5412
|
+
/**
|
|
5413
|
+
* Generated by JsPbCodeGenerator.
|
|
5414
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5415
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5416
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5417
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5418
|
+
* valid.
|
|
5419
|
+
* @extends {jspb.Message}
|
|
5420
|
+
* @constructor
|
|
5421
|
+
*/
|
|
5422
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0 = function(opt_data) {
|
|
5423
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.oneofGroups_);
|
|
5424
|
+
};
|
|
5425
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0, jspb.Message);
|
|
5426
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5427
|
+
/**
|
|
5428
|
+
* @public
|
|
5429
|
+
* @override
|
|
5430
|
+
*/
|
|
5431
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.displayName = 'proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0';
|
|
5432
|
+
}
|
|
5433
|
+
/**
|
|
5434
|
+
* Generated by JsPbCodeGenerator.
|
|
5435
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5436
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5437
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5438
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5439
|
+
* valid.
|
|
5440
|
+
* @extends {jspb.Message}
|
|
5441
|
+
* @constructor
|
|
5442
|
+
*/
|
|
5443
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData = function(opt_data) {
|
|
5444
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5445
|
+
};
|
|
5446
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData, jspb.Message);
|
|
5447
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5448
|
+
/**
|
|
5449
|
+
* @public
|
|
5450
|
+
* @override
|
|
5451
|
+
*/
|
|
5452
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData.displayName = 'proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData';
|
|
5183
5453
|
}
|
|
5184
5454
|
/**
|
|
5185
5455
|
* Generated by JsPbCodeGenerator.
|
|
@@ -30803,21 +31073,21 @@ proto.org.dash.platform.dapi.v0.GetEpochsInfoResponse.prototype.hasV0 = function
|
|
|
30803
31073
|
* @private {!Array<!Array<number>>}
|
|
30804
31074
|
* @const
|
|
30805
31075
|
*/
|
|
30806
|
-
proto.org.dash.platform.dapi.v0.
|
|
31076
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.oneofGroups_ = [[1]];
|
|
30807
31077
|
|
|
30808
31078
|
/**
|
|
30809
31079
|
* @enum {number}
|
|
30810
31080
|
*/
|
|
30811
|
-
proto.org.dash.platform.dapi.v0.
|
|
31081
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.VersionCase = {
|
|
30812
31082
|
VERSION_NOT_SET: 0,
|
|
30813
31083
|
V0: 1
|
|
30814
31084
|
};
|
|
30815
31085
|
|
|
30816
31086
|
/**
|
|
30817
|
-
* @return {proto.org.dash.platform.dapi.v0.
|
|
31087
|
+
* @return {proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.VersionCase}
|
|
30818
31088
|
*/
|
|
30819
|
-
proto.org.dash.platform.dapi.v0.
|
|
30820
|
-
return /** @type {proto.org.dash.platform.dapi.v0.
|
|
31089
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.prototype.getVersionCase = function() {
|
|
31090
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.oneofGroups_[0]));
|
|
30821
31091
|
};
|
|
30822
31092
|
|
|
30823
31093
|
|
|
@@ -30835,8 +31105,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
30835
31105
|
* http://goto/soy-param-migration
|
|
30836
31106
|
* @return {!Object}
|
|
30837
31107
|
*/
|
|
30838
|
-
proto.org.dash.platform.dapi.v0.
|
|
30839
|
-
return proto.org.dash.platform.dapi.v0.
|
|
31108
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.prototype.toObject = function(opt_includeInstance) {
|
|
31109
|
+
return proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.toObject(opt_includeInstance, this);
|
|
30840
31110
|
};
|
|
30841
31111
|
|
|
30842
31112
|
|
|
@@ -30845,13 +31115,13 @@ proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.prototype.toObject
|
|
|
30845
31115
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
30846
31116
|
* the JSPB instance for transitional soy proto support:
|
|
30847
31117
|
* http://goto/soy-param-migration
|
|
30848
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
31118
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest} msg The msg instance to transform.
|
|
30849
31119
|
* @return {!Object}
|
|
30850
31120
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
30851
31121
|
*/
|
|
30852
|
-
proto.org.dash.platform.dapi.v0.
|
|
31122
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.toObject = function(includeInstance, msg) {
|
|
30853
31123
|
var f, obj = {
|
|
30854
|
-
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.
|
|
31124
|
+
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0.toObject(includeInstance, f)
|
|
30855
31125
|
};
|
|
30856
31126
|
|
|
30857
31127
|
if (includeInstance) {
|
|
@@ -30865,23 +31135,23 @@ proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.toObject = function
|
|
|
30865
31135
|
/**
|
|
30866
31136
|
* Deserializes binary data (in protobuf wire format).
|
|
30867
31137
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
30868
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
31138
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest}
|
|
30869
31139
|
*/
|
|
30870
|
-
proto.org.dash.platform.dapi.v0.
|
|
31140
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.deserializeBinary = function(bytes) {
|
|
30871
31141
|
var reader = new jspb.BinaryReader(bytes);
|
|
30872
|
-
var msg = new proto.org.dash.platform.dapi.v0.
|
|
30873
|
-
return proto.org.dash.platform.dapi.v0.
|
|
31142
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest;
|
|
31143
|
+
return proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.deserializeBinaryFromReader(msg, reader);
|
|
30874
31144
|
};
|
|
30875
31145
|
|
|
30876
31146
|
|
|
30877
31147
|
/**
|
|
30878
31148
|
* Deserializes binary data (in protobuf wire format) from the
|
|
30879
31149
|
* given reader into the given message object.
|
|
30880
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
31150
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest} msg The message object to deserialize into.
|
|
30881
31151
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
30882
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
31152
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest}
|
|
30883
31153
|
*/
|
|
30884
|
-
proto.org.dash.platform.dapi.v0.
|
|
31154
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
30885
31155
|
while (reader.nextField()) {
|
|
30886
31156
|
if (reader.isEndGroup()) {
|
|
30887
31157
|
break;
|
|
@@ -30889,8 +31159,8 @@ proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.deserializeBinaryFr
|
|
|
30889
31159
|
var field = reader.getFieldNumber();
|
|
30890
31160
|
switch (field) {
|
|
30891
31161
|
case 1:
|
|
30892
|
-
var value = new proto.org.dash.platform.dapi.v0.
|
|
30893
|
-
reader.readMessage(value,proto.org.dash.platform.dapi.v0.
|
|
31162
|
+
var value = new proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0;
|
|
31163
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0.deserializeBinaryFromReader);
|
|
30894
31164
|
msg.setV0(value);
|
|
30895
31165
|
break;
|
|
30896
31166
|
default:
|
|
@@ -30906,9 +31176,9 @@ proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.deserializeBinaryFr
|
|
|
30906
31176
|
* Serializes the message to binary data (in protobuf wire format).
|
|
30907
31177
|
* @return {!Uint8Array}
|
|
30908
31178
|
*/
|
|
30909
|
-
proto.org.dash.platform.dapi.v0.
|
|
31179
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.prototype.serializeBinary = function() {
|
|
30910
31180
|
var writer = new jspb.BinaryWriter();
|
|
30911
|
-
proto.org.dash.platform.dapi.v0.
|
|
31181
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.serializeBinaryToWriter(this, writer);
|
|
30912
31182
|
return writer.getResultBuffer();
|
|
30913
31183
|
};
|
|
30914
31184
|
|
|
@@ -30916,31 +31186,24 @@ proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.prototype.serialize
|
|
|
30916
31186
|
/**
|
|
30917
31187
|
* Serializes the given message to binary data (in protobuf wire
|
|
30918
31188
|
* format), writing to the given BinaryWriter.
|
|
30919
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
31189
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest} message
|
|
30920
31190
|
* @param {!jspb.BinaryWriter} writer
|
|
30921
31191
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
30922
31192
|
*/
|
|
30923
|
-
proto.org.dash.platform.dapi.v0.
|
|
31193
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.serializeBinaryToWriter = function(message, writer) {
|
|
30924
31194
|
var f = undefined;
|
|
30925
31195
|
f = message.getV0();
|
|
30926
31196
|
if (f != null) {
|
|
30927
31197
|
writer.writeMessage(
|
|
30928
31198
|
1,
|
|
30929
31199
|
f,
|
|
30930
|
-
proto.org.dash.platform.dapi.v0.
|
|
31200
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0.serializeBinaryToWriter
|
|
30931
31201
|
);
|
|
30932
31202
|
}
|
|
30933
31203
|
};
|
|
30934
31204
|
|
|
30935
31205
|
|
|
30936
31206
|
|
|
30937
|
-
/**
|
|
30938
|
-
* List of repeated fields within this message type.
|
|
30939
|
-
* @private {!Array<number>}
|
|
30940
|
-
* @const
|
|
30941
|
-
*/
|
|
30942
|
-
proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.repeatedFields_ = [4,5];
|
|
30943
|
-
|
|
30944
31207
|
|
|
30945
31208
|
|
|
30946
31209
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -30956,8 +31219,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
30956
31219
|
* http://goto/soy-param-migration
|
|
30957
31220
|
* @return {!Object}
|
|
30958
31221
|
*/
|
|
30959
|
-
proto.org.dash.platform.dapi.v0.
|
|
30960
|
-
return proto.org.dash.platform.dapi.v0.
|
|
31222
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0.prototype.toObject = function(opt_includeInstance) {
|
|
31223
|
+
return proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0.toObject(opt_includeInstance, this);
|
|
30961
31224
|
};
|
|
30962
31225
|
|
|
30963
31226
|
|
|
@@ -30966,21 +31229,17 @@ proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourc
|
|
|
30966
31229
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
30967
31230
|
* the JSPB instance for transitional soy proto support:
|
|
30968
31231
|
* http://goto/soy-param-migration
|
|
30969
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
31232
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0} msg The msg instance to transform.
|
|
30970
31233
|
* @return {!Object}
|
|
30971
31234
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
30972
31235
|
*/
|
|
30973
|
-
proto.org.dash.platform.dapi.v0.
|
|
31236
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0.toObject = function(includeInstance, msg) {
|
|
30974
31237
|
var f, obj = {
|
|
30975
|
-
|
|
30976
|
-
|
|
30977
|
-
|
|
30978
|
-
|
|
30979
|
-
|
|
30980
|
-
startAtValueInfo: (f = msg.getStartAtValueInfo()) && proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.StartAtValueInfo.toObject(includeInstance, f),
|
|
30981
|
-
count: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
30982
|
-
orderAscending: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
30983
|
-
prove: jspb.Message.getBooleanFieldWithDefault(msg, 9, false)
|
|
31238
|
+
startEpochIndex: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
31239
|
+
startEpochIndexIncluded: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
31240
|
+
endEpochIndex: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
31241
|
+
endEpochIndexIncluded: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
31242
|
+
prove: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
30984
31243
|
};
|
|
30985
31244
|
|
|
30986
31245
|
if (includeInstance) {
|
|
@@ -30994,23 +31253,23 @@ proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourc
|
|
|
30994
31253
|
/**
|
|
30995
31254
|
* Deserializes binary data (in protobuf wire format).
|
|
30996
31255
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
30997
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
31256
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0}
|
|
30998
31257
|
*/
|
|
30999
|
-
proto.org.dash.platform.dapi.v0.
|
|
31258
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0.deserializeBinary = function(bytes) {
|
|
31000
31259
|
var reader = new jspb.BinaryReader(bytes);
|
|
31001
|
-
var msg = new proto.org.dash.platform.dapi.v0.
|
|
31002
|
-
return proto.org.dash.platform.dapi.v0.
|
|
31260
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0;
|
|
31261
|
+
return proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0.deserializeBinaryFromReader(msg, reader);
|
|
31003
31262
|
};
|
|
31004
31263
|
|
|
31005
31264
|
|
|
31006
31265
|
/**
|
|
31007
31266
|
* Deserializes binary data (in protobuf wire format) from the
|
|
31008
31267
|
* given reader into the given message object.
|
|
31009
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
31268
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0} msg The message object to deserialize into.
|
|
31010
31269
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
31011
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
31270
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0}
|
|
31012
31271
|
*/
|
|
31013
|
-
proto.org.dash.platform.dapi.v0.
|
|
31272
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0.deserializeBinaryFromReader = function(msg, reader) {
|
|
31014
31273
|
while (reader.nextField()) {
|
|
31015
31274
|
if (reader.isEndGroup()) {
|
|
31016
31275
|
break;
|
|
@@ -31018,39 +31277,22 @@ proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourc
|
|
|
31018
31277
|
var field = reader.getFieldNumber();
|
|
31019
31278
|
switch (field) {
|
|
31020
31279
|
case 1:
|
|
31021
|
-
var value = /** @type {
|
|
31022
|
-
msg.
|
|
31280
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
31281
|
+
msg.setStartEpochIndex(value);
|
|
31023
31282
|
break;
|
|
31024
31283
|
case 2:
|
|
31025
|
-
var value = /** @type {
|
|
31026
|
-
msg.
|
|
31284
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
31285
|
+
msg.setStartEpochIndexIncluded(value);
|
|
31027
31286
|
break;
|
|
31028
31287
|
case 3:
|
|
31029
|
-
var value = /** @type {string} */ (reader.readString());
|
|
31030
|
-
msg.setIndexName(value);
|
|
31031
|
-
break;
|
|
31032
|
-
case 4:
|
|
31033
|
-
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
31034
|
-
msg.addStartIndexValues(value);
|
|
31035
|
-
break;
|
|
31036
|
-
case 5:
|
|
31037
|
-
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
31038
|
-
msg.addEndIndexValues(value);
|
|
31039
|
-
break;
|
|
31040
|
-
case 6:
|
|
31041
|
-
var value = new proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.StartAtValueInfo;
|
|
31042
|
-
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.StartAtValueInfo.deserializeBinaryFromReader);
|
|
31043
|
-
msg.setStartAtValueInfo(value);
|
|
31044
|
-
break;
|
|
31045
|
-
case 7:
|
|
31046
31288
|
var value = /** @type {number} */ (reader.readUint32());
|
|
31047
|
-
msg.
|
|
31289
|
+
msg.setEndEpochIndex(value);
|
|
31048
31290
|
break;
|
|
31049
|
-
case
|
|
31291
|
+
case 4:
|
|
31050
31292
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
31051
|
-
msg.
|
|
31293
|
+
msg.setEndEpochIndexIncluded(value);
|
|
31052
31294
|
break;
|
|
31053
|
-
case
|
|
31295
|
+
case 5:
|
|
31054
31296
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
31055
31297
|
msg.setProve(value);
|
|
31056
31298
|
break;
|
|
@@ -31067,9 +31309,9 @@ proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourc
|
|
|
31067
31309
|
* Serializes the message to binary data (in protobuf wire format).
|
|
31068
31310
|
* @return {!Uint8Array}
|
|
31069
31311
|
*/
|
|
31070
|
-
proto.org.dash.platform.dapi.v0.
|
|
31312
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0.prototype.serializeBinary = function() {
|
|
31071
31313
|
var writer = new jspb.BinaryWriter();
|
|
31072
|
-
proto.org.dash.platform.dapi.v0.
|
|
31314
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0.serializeBinaryToWriter(this, writer);
|
|
31073
31315
|
return writer.getResultBuffer();
|
|
31074
31316
|
};
|
|
31075
31317
|
|
|
@@ -31077,79 +31319,202 @@ proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourc
|
|
|
31077
31319
|
/**
|
|
31078
31320
|
* Serializes the given message to binary data (in protobuf wire
|
|
31079
31321
|
* format), writing to the given BinaryWriter.
|
|
31080
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
31322
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0} message
|
|
31081
31323
|
* @param {!jspb.BinaryWriter} writer
|
|
31082
31324
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
31083
31325
|
*/
|
|
31084
|
-
proto.org.dash.platform.dapi.v0.
|
|
31326
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0.serializeBinaryToWriter = function(message, writer) {
|
|
31085
31327
|
var f = undefined;
|
|
31086
|
-
f = message.
|
|
31087
|
-
if (f
|
|
31088
|
-
writer.
|
|
31328
|
+
f = message.getStartEpochIndex();
|
|
31329
|
+
if (f !== 0) {
|
|
31330
|
+
writer.writeUint32(
|
|
31089
31331
|
1,
|
|
31090
31332
|
f
|
|
31091
31333
|
);
|
|
31092
31334
|
}
|
|
31093
|
-
f = message.
|
|
31094
|
-
if (f
|
|
31095
|
-
writer.
|
|
31335
|
+
f = message.getStartEpochIndexIncluded();
|
|
31336
|
+
if (f) {
|
|
31337
|
+
writer.writeBool(
|
|
31096
31338
|
2,
|
|
31097
31339
|
f
|
|
31098
31340
|
);
|
|
31099
31341
|
}
|
|
31100
|
-
f = message.
|
|
31101
|
-
if (f
|
|
31102
|
-
writer.writeString(
|
|
31103
|
-
3,
|
|
31104
|
-
f
|
|
31105
|
-
);
|
|
31106
|
-
}
|
|
31107
|
-
f = message.getStartIndexValuesList_asU8();
|
|
31108
|
-
if (f.length > 0) {
|
|
31109
|
-
writer.writeRepeatedBytes(
|
|
31110
|
-
4,
|
|
31111
|
-
f
|
|
31112
|
-
);
|
|
31113
|
-
}
|
|
31114
|
-
f = message.getEndIndexValuesList_asU8();
|
|
31115
|
-
if (f.length > 0) {
|
|
31116
|
-
writer.writeRepeatedBytes(
|
|
31117
|
-
5,
|
|
31118
|
-
f
|
|
31119
|
-
);
|
|
31120
|
-
}
|
|
31121
|
-
f = message.getStartAtValueInfo();
|
|
31122
|
-
if (f != null) {
|
|
31123
|
-
writer.writeMessage(
|
|
31124
|
-
6,
|
|
31125
|
-
f,
|
|
31126
|
-
proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.StartAtValueInfo.serializeBinaryToWriter
|
|
31127
|
-
);
|
|
31128
|
-
}
|
|
31129
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
|
31130
|
-
if (f != null) {
|
|
31342
|
+
f = message.getEndEpochIndex();
|
|
31343
|
+
if (f !== 0) {
|
|
31131
31344
|
writer.writeUint32(
|
|
31132
|
-
|
|
31345
|
+
3,
|
|
31133
31346
|
f
|
|
31134
31347
|
);
|
|
31135
31348
|
}
|
|
31136
|
-
f = message.
|
|
31349
|
+
f = message.getEndEpochIndexIncluded();
|
|
31137
31350
|
if (f) {
|
|
31138
31351
|
writer.writeBool(
|
|
31139
|
-
|
|
31352
|
+
4,
|
|
31140
31353
|
f
|
|
31141
31354
|
);
|
|
31142
31355
|
}
|
|
31143
31356
|
f = message.getProve();
|
|
31144
31357
|
if (f) {
|
|
31145
31358
|
writer.writeBool(
|
|
31146
|
-
|
|
31359
|
+
5,
|
|
31147
31360
|
f
|
|
31148
31361
|
);
|
|
31149
31362
|
}
|
|
31150
31363
|
};
|
|
31151
31364
|
|
|
31152
31365
|
|
|
31366
|
+
/**
|
|
31367
|
+
* optional uint32 start_epoch_index = 1;
|
|
31368
|
+
* @return {number}
|
|
31369
|
+
*/
|
|
31370
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0.prototype.getStartEpochIndex = function() {
|
|
31371
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
31372
|
+
};
|
|
31373
|
+
|
|
31374
|
+
|
|
31375
|
+
/**
|
|
31376
|
+
* @param {number} value
|
|
31377
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0} returns this
|
|
31378
|
+
*/
|
|
31379
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0.prototype.setStartEpochIndex = function(value) {
|
|
31380
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
31381
|
+
};
|
|
31382
|
+
|
|
31383
|
+
|
|
31384
|
+
/**
|
|
31385
|
+
* optional bool start_epoch_index_included = 2;
|
|
31386
|
+
* @return {boolean}
|
|
31387
|
+
*/
|
|
31388
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0.prototype.getStartEpochIndexIncluded = function() {
|
|
31389
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
31390
|
+
};
|
|
31391
|
+
|
|
31392
|
+
|
|
31393
|
+
/**
|
|
31394
|
+
* @param {boolean} value
|
|
31395
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0} returns this
|
|
31396
|
+
*/
|
|
31397
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0.prototype.setStartEpochIndexIncluded = function(value) {
|
|
31398
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
31399
|
+
};
|
|
31400
|
+
|
|
31401
|
+
|
|
31402
|
+
/**
|
|
31403
|
+
* optional uint32 end_epoch_index = 3;
|
|
31404
|
+
* @return {number}
|
|
31405
|
+
*/
|
|
31406
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0.prototype.getEndEpochIndex = function() {
|
|
31407
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
31408
|
+
};
|
|
31409
|
+
|
|
31410
|
+
|
|
31411
|
+
/**
|
|
31412
|
+
* @param {number} value
|
|
31413
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0} returns this
|
|
31414
|
+
*/
|
|
31415
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0.prototype.setEndEpochIndex = function(value) {
|
|
31416
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
31417
|
+
};
|
|
31418
|
+
|
|
31419
|
+
|
|
31420
|
+
/**
|
|
31421
|
+
* optional bool end_epoch_index_included = 4;
|
|
31422
|
+
* @return {boolean}
|
|
31423
|
+
*/
|
|
31424
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0.prototype.getEndEpochIndexIncluded = function() {
|
|
31425
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
31426
|
+
};
|
|
31427
|
+
|
|
31428
|
+
|
|
31429
|
+
/**
|
|
31430
|
+
* @param {boolean} value
|
|
31431
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0} returns this
|
|
31432
|
+
*/
|
|
31433
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0.prototype.setEndEpochIndexIncluded = function(value) {
|
|
31434
|
+
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
31435
|
+
};
|
|
31436
|
+
|
|
31437
|
+
|
|
31438
|
+
/**
|
|
31439
|
+
* optional bool prove = 5;
|
|
31440
|
+
* @return {boolean}
|
|
31441
|
+
*/
|
|
31442
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0.prototype.getProve = function() {
|
|
31443
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
31444
|
+
};
|
|
31445
|
+
|
|
31446
|
+
|
|
31447
|
+
/**
|
|
31448
|
+
* @param {boolean} value
|
|
31449
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0} returns this
|
|
31450
|
+
*/
|
|
31451
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0.prototype.setProve = function(value) {
|
|
31452
|
+
return jspb.Message.setProto3BooleanField(this, 5, value);
|
|
31453
|
+
};
|
|
31454
|
+
|
|
31455
|
+
|
|
31456
|
+
/**
|
|
31457
|
+
* optional GetFinalizedEpochInfosRequestV0 v0 = 1;
|
|
31458
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0}
|
|
31459
|
+
*/
|
|
31460
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.prototype.getV0 = function() {
|
|
31461
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0} */ (
|
|
31462
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0, 1));
|
|
31463
|
+
};
|
|
31464
|
+
|
|
31465
|
+
|
|
31466
|
+
/**
|
|
31467
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0|undefined} value
|
|
31468
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest} returns this
|
|
31469
|
+
*/
|
|
31470
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.prototype.setV0 = function(value) {
|
|
31471
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.oneofGroups_[0], value);
|
|
31472
|
+
};
|
|
31473
|
+
|
|
31474
|
+
|
|
31475
|
+
/**
|
|
31476
|
+
* Clears the message field making it undefined.
|
|
31477
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest} returns this
|
|
31478
|
+
*/
|
|
31479
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.prototype.clearV0 = function() {
|
|
31480
|
+
return this.setV0(undefined);
|
|
31481
|
+
};
|
|
31482
|
+
|
|
31483
|
+
|
|
31484
|
+
/**
|
|
31485
|
+
* Returns whether this field is set.
|
|
31486
|
+
* @return {boolean}
|
|
31487
|
+
*/
|
|
31488
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.prototype.hasV0 = function() {
|
|
31489
|
+
return jspb.Message.getField(this, 1) != null;
|
|
31490
|
+
};
|
|
31491
|
+
|
|
31492
|
+
|
|
31493
|
+
|
|
31494
|
+
/**
|
|
31495
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
31496
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
31497
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
31498
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
31499
|
+
* @private {!Array<!Array<number>>}
|
|
31500
|
+
* @const
|
|
31501
|
+
*/
|
|
31502
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.oneofGroups_ = [[1]];
|
|
31503
|
+
|
|
31504
|
+
/**
|
|
31505
|
+
* @enum {number}
|
|
31506
|
+
*/
|
|
31507
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.VersionCase = {
|
|
31508
|
+
VERSION_NOT_SET: 0,
|
|
31509
|
+
V0: 1
|
|
31510
|
+
};
|
|
31511
|
+
|
|
31512
|
+
/**
|
|
31513
|
+
* @return {proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.VersionCase}
|
|
31514
|
+
*/
|
|
31515
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.prototype.getVersionCase = function() {
|
|
31516
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.oneofGroups_[0]));
|
|
31517
|
+
};
|
|
31153
31518
|
|
|
31154
31519
|
|
|
31155
31520
|
|
|
@@ -31166,8 +31531,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
31166
31531
|
* http://goto/soy-param-migration
|
|
31167
31532
|
* @return {!Object}
|
|
31168
31533
|
*/
|
|
31169
|
-
proto.org.dash.platform.dapi.v0.
|
|
31170
|
-
return proto.org.dash.platform.dapi.v0.
|
|
31534
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.prototype.toObject = function(opt_includeInstance) {
|
|
31535
|
+
return proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.toObject(opt_includeInstance, this);
|
|
31171
31536
|
};
|
|
31172
31537
|
|
|
31173
31538
|
|
|
@@ -31176,14 +31541,13 @@ proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourc
|
|
|
31176
31541
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
31177
31542
|
* the JSPB instance for transitional soy proto support:
|
|
31178
31543
|
* http://goto/soy-param-migration
|
|
31179
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
31544
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse} msg The msg instance to transform.
|
|
31180
31545
|
* @return {!Object}
|
|
31181
31546
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
31182
31547
|
*/
|
|
31183
|
-
proto.org.dash.platform.dapi.v0.
|
|
31548
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.toObject = function(includeInstance, msg) {
|
|
31184
31549
|
var f, obj = {
|
|
31185
|
-
|
|
31186
|
-
startValueIncluded: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
31550
|
+
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.toObject(includeInstance, f)
|
|
31187
31551
|
};
|
|
31188
31552
|
|
|
31189
31553
|
if (includeInstance) {
|
|
@@ -31197,23 +31561,23 @@ proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourc
|
|
|
31197
31561
|
/**
|
|
31198
31562
|
* Deserializes binary data (in protobuf wire format).
|
|
31199
31563
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
31200
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
31564
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse}
|
|
31201
31565
|
*/
|
|
31202
|
-
proto.org.dash.platform.dapi.v0.
|
|
31566
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.deserializeBinary = function(bytes) {
|
|
31203
31567
|
var reader = new jspb.BinaryReader(bytes);
|
|
31204
|
-
var msg = new proto.org.dash.platform.dapi.v0.
|
|
31205
|
-
return proto.org.dash.platform.dapi.v0.
|
|
31568
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse;
|
|
31569
|
+
return proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.deserializeBinaryFromReader(msg, reader);
|
|
31206
31570
|
};
|
|
31207
31571
|
|
|
31208
31572
|
|
|
31209
31573
|
/**
|
|
31210
31574
|
* Deserializes binary data (in protobuf wire format) from the
|
|
31211
31575
|
* given reader into the given message object.
|
|
31212
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
31576
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse} msg The message object to deserialize into.
|
|
31213
31577
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
31214
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
31578
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse}
|
|
31215
31579
|
*/
|
|
31216
|
-
proto.org.dash.platform.dapi.v0.
|
|
31580
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
31217
31581
|
while (reader.nextField()) {
|
|
31218
31582
|
if (reader.isEndGroup()) {
|
|
31219
31583
|
break;
|
|
@@ -31221,12 +31585,9 @@ proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourc
|
|
|
31221
31585
|
var field = reader.getFieldNumber();
|
|
31222
31586
|
switch (field) {
|
|
31223
31587
|
case 1:
|
|
31224
|
-
var value =
|
|
31225
|
-
|
|
31226
|
-
|
|
31227
|
-
case 2:
|
|
31228
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
31229
|
-
msg.setStartValueIncluded(value);
|
|
31588
|
+
var value = new proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0;
|
|
31589
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.deserializeBinaryFromReader);
|
|
31590
|
+
msg.setV0(value);
|
|
31230
31591
|
break;
|
|
31231
31592
|
default:
|
|
31232
31593
|
reader.skipField();
|
|
@@ -31241,9 +31602,9 @@ proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourc
|
|
|
31241
31602
|
* Serializes the message to binary data (in protobuf wire format).
|
|
31242
31603
|
* @return {!Uint8Array}
|
|
31243
31604
|
*/
|
|
31244
|
-
proto.org.dash.platform.dapi.v0.
|
|
31605
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.prototype.serializeBinary = function() {
|
|
31245
31606
|
var writer = new jspb.BinaryWriter();
|
|
31246
|
-
proto.org.dash.platform.dapi.v0.
|
|
31607
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.serializeBinaryToWriter(this, writer);
|
|
31247
31608
|
return writer.getResultBuffer();
|
|
31248
31609
|
};
|
|
31249
31610
|
|
|
@@ -31251,25 +31612,1679 @@ proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourc
|
|
|
31251
31612
|
/**
|
|
31252
31613
|
* Serializes the given message to binary data (in protobuf wire
|
|
31253
31614
|
* format), writing to the given BinaryWriter.
|
|
31254
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
31615
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse} message
|
|
31255
31616
|
* @param {!jspb.BinaryWriter} writer
|
|
31256
31617
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
31257
31618
|
*/
|
|
31258
|
-
proto.org.dash.platform.dapi.v0.
|
|
31619
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.serializeBinaryToWriter = function(message, writer) {
|
|
31259
31620
|
var f = undefined;
|
|
31260
|
-
f = message.
|
|
31261
|
-
if (f
|
|
31262
|
-
writer.
|
|
31621
|
+
f = message.getV0();
|
|
31622
|
+
if (f != null) {
|
|
31623
|
+
writer.writeMessage(
|
|
31263
31624
|
1,
|
|
31264
|
-
f
|
|
31625
|
+
f,
|
|
31626
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.serializeBinaryToWriter
|
|
31265
31627
|
);
|
|
31266
31628
|
}
|
|
31267
|
-
|
|
31268
|
-
|
|
31269
|
-
|
|
31270
|
-
|
|
31271
|
-
|
|
31272
|
-
|
|
31629
|
+
};
|
|
31630
|
+
|
|
31631
|
+
|
|
31632
|
+
|
|
31633
|
+
/**
|
|
31634
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
31635
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
31636
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
31637
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
31638
|
+
* @private {!Array<!Array<number>>}
|
|
31639
|
+
* @const
|
|
31640
|
+
*/
|
|
31641
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.oneofGroups_ = [[1,2]];
|
|
31642
|
+
|
|
31643
|
+
/**
|
|
31644
|
+
* @enum {number}
|
|
31645
|
+
*/
|
|
31646
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.ResultCase = {
|
|
31647
|
+
RESULT_NOT_SET: 0,
|
|
31648
|
+
EPOCHS: 1,
|
|
31649
|
+
PROOF: 2
|
|
31650
|
+
};
|
|
31651
|
+
|
|
31652
|
+
/**
|
|
31653
|
+
* @return {proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.ResultCase}
|
|
31654
|
+
*/
|
|
31655
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.prototype.getResultCase = function() {
|
|
31656
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.oneofGroups_[0]));
|
|
31657
|
+
};
|
|
31658
|
+
|
|
31659
|
+
|
|
31660
|
+
|
|
31661
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
31662
|
+
/**
|
|
31663
|
+
* Creates an object representation of this proto.
|
|
31664
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
31665
|
+
* Optional fields that are not set will be set to undefined.
|
|
31666
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
31667
|
+
* For the list of reserved names please see:
|
|
31668
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
31669
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
31670
|
+
* JSPB instance for transitional soy proto support:
|
|
31671
|
+
* http://goto/soy-param-migration
|
|
31672
|
+
* @return {!Object}
|
|
31673
|
+
*/
|
|
31674
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.prototype.toObject = function(opt_includeInstance) {
|
|
31675
|
+
return proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.toObject(opt_includeInstance, this);
|
|
31676
|
+
};
|
|
31677
|
+
|
|
31678
|
+
|
|
31679
|
+
/**
|
|
31680
|
+
* Static version of the {@see toObject} method.
|
|
31681
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
31682
|
+
* the JSPB instance for transitional soy proto support:
|
|
31683
|
+
* http://goto/soy-param-migration
|
|
31684
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0} msg The msg instance to transform.
|
|
31685
|
+
* @return {!Object}
|
|
31686
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
31687
|
+
*/
|
|
31688
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.toObject = function(includeInstance, msg) {
|
|
31689
|
+
var f, obj = {
|
|
31690
|
+
epochs: (f = msg.getEpochs()) && proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos.toObject(includeInstance, f),
|
|
31691
|
+
proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
|
|
31692
|
+
metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
|
|
31693
|
+
};
|
|
31694
|
+
|
|
31695
|
+
if (includeInstance) {
|
|
31696
|
+
obj.$jspbMessageInstance = msg;
|
|
31697
|
+
}
|
|
31698
|
+
return obj;
|
|
31699
|
+
};
|
|
31700
|
+
}
|
|
31701
|
+
|
|
31702
|
+
|
|
31703
|
+
/**
|
|
31704
|
+
* Deserializes binary data (in protobuf wire format).
|
|
31705
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
31706
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0}
|
|
31707
|
+
*/
|
|
31708
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.deserializeBinary = function(bytes) {
|
|
31709
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
31710
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0;
|
|
31711
|
+
return proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.deserializeBinaryFromReader(msg, reader);
|
|
31712
|
+
};
|
|
31713
|
+
|
|
31714
|
+
|
|
31715
|
+
/**
|
|
31716
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
31717
|
+
* given reader into the given message object.
|
|
31718
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0} msg The message object to deserialize into.
|
|
31719
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
31720
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0}
|
|
31721
|
+
*/
|
|
31722
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.deserializeBinaryFromReader = function(msg, reader) {
|
|
31723
|
+
while (reader.nextField()) {
|
|
31724
|
+
if (reader.isEndGroup()) {
|
|
31725
|
+
break;
|
|
31726
|
+
}
|
|
31727
|
+
var field = reader.getFieldNumber();
|
|
31728
|
+
switch (field) {
|
|
31729
|
+
case 1:
|
|
31730
|
+
var value = new proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos;
|
|
31731
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos.deserializeBinaryFromReader);
|
|
31732
|
+
msg.setEpochs(value);
|
|
31733
|
+
break;
|
|
31734
|
+
case 2:
|
|
31735
|
+
var value = new proto.org.dash.platform.dapi.v0.Proof;
|
|
31736
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
|
|
31737
|
+
msg.setProof(value);
|
|
31738
|
+
break;
|
|
31739
|
+
case 3:
|
|
31740
|
+
var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
|
|
31741
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
|
|
31742
|
+
msg.setMetadata(value);
|
|
31743
|
+
break;
|
|
31744
|
+
default:
|
|
31745
|
+
reader.skipField();
|
|
31746
|
+
break;
|
|
31747
|
+
}
|
|
31748
|
+
}
|
|
31749
|
+
return msg;
|
|
31750
|
+
};
|
|
31751
|
+
|
|
31752
|
+
|
|
31753
|
+
/**
|
|
31754
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
31755
|
+
* @return {!Uint8Array}
|
|
31756
|
+
*/
|
|
31757
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.prototype.serializeBinary = function() {
|
|
31758
|
+
var writer = new jspb.BinaryWriter();
|
|
31759
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.serializeBinaryToWriter(this, writer);
|
|
31760
|
+
return writer.getResultBuffer();
|
|
31761
|
+
};
|
|
31762
|
+
|
|
31763
|
+
|
|
31764
|
+
/**
|
|
31765
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
31766
|
+
* format), writing to the given BinaryWriter.
|
|
31767
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0} message
|
|
31768
|
+
* @param {!jspb.BinaryWriter} writer
|
|
31769
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
31770
|
+
*/
|
|
31771
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.serializeBinaryToWriter = function(message, writer) {
|
|
31772
|
+
var f = undefined;
|
|
31773
|
+
f = message.getEpochs();
|
|
31774
|
+
if (f != null) {
|
|
31775
|
+
writer.writeMessage(
|
|
31776
|
+
1,
|
|
31777
|
+
f,
|
|
31778
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos.serializeBinaryToWriter
|
|
31779
|
+
);
|
|
31780
|
+
}
|
|
31781
|
+
f = message.getProof();
|
|
31782
|
+
if (f != null) {
|
|
31783
|
+
writer.writeMessage(
|
|
31784
|
+
2,
|
|
31785
|
+
f,
|
|
31786
|
+
proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
|
|
31787
|
+
);
|
|
31788
|
+
}
|
|
31789
|
+
f = message.getMetadata();
|
|
31790
|
+
if (f != null) {
|
|
31791
|
+
writer.writeMessage(
|
|
31792
|
+
3,
|
|
31793
|
+
f,
|
|
31794
|
+
proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
|
|
31795
|
+
);
|
|
31796
|
+
}
|
|
31797
|
+
};
|
|
31798
|
+
|
|
31799
|
+
|
|
31800
|
+
|
|
31801
|
+
/**
|
|
31802
|
+
* List of repeated fields within this message type.
|
|
31803
|
+
* @private {!Array<number>}
|
|
31804
|
+
* @const
|
|
31805
|
+
*/
|
|
31806
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos.repeatedFields_ = [1];
|
|
31807
|
+
|
|
31808
|
+
|
|
31809
|
+
|
|
31810
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
31811
|
+
/**
|
|
31812
|
+
* Creates an object representation of this proto.
|
|
31813
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
31814
|
+
* Optional fields that are not set will be set to undefined.
|
|
31815
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
31816
|
+
* For the list of reserved names please see:
|
|
31817
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
31818
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
31819
|
+
* JSPB instance for transitional soy proto support:
|
|
31820
|
+
* http://goto/soy-param-migration
|
|
31821
|
+
* @return {!Object}
|
|
31822
|
+
*/
|
|
31823
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos.prototype.toObject = function(opt_includeInstance) {
|
|
31824
|
+
return proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos.toObject(opt_includeInstance, this);
|
|
31825
|
+
};
|
|
31826
|
+
|
|
31827
|
+
|
|
31828
|
+
/**
|
|
31829
|
+
* Static version of the {@see toObject} method.
|
|
31830
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
31831
|
+
* the JSPB instance for transitional soy proto support:
|
|
31832
|
+
* http://goto/soy-param-migration
|
|
31833
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos} msg The msg instance to transform.
|
|
31834
|
+
* @return {!Object}
|
|
31835
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
31836
|
+
*/
|
|
31837
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos.toObject = function(includeInstance, msg) {
|
|
31838
|
+
var f, obj = {
|
|
31839
|
+
finalizedEpochInfosList: jspb.Message.toObjectList(msg.getFinalizedEpochInfosList(),
|
|
31840
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.toObject, includeInstance)
|
|
31841
|
+
};
|
|
31842
|
+
|
|
31843
|
+
if (includeInstance) {
|
|
31844
|
+
obj.$jspbMessageInstance = msg;
|
|
31845
|
+
}
|
|
31846
|
+
return obj;
|
|
31847
|
+
};
|
|
31848
|
+
}
|
|
31849
|
+
|
|
31850
|
+
|
|
31851
|
+
/**
|
|
31852
|
+
* Deserializes binary data (in protobuf wire format).
|
|
31853
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
31854
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos}
|
|
31855
|
+
*/
|
|
31856
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos.deserializeBinary = function(bytes) {
|
|
31857
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
31858
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos;
|
|
31859
|
+
return proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos.deserializeBinaryFromReader(msg, reader);
|
|
31860
|
+
};
|
|
31861
|
+
|
|
31862
|
+
|
|
31863
|
+
/**
|
|
31864
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
31865
|
+
* given reader into the given message object.
|
|
31866
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos} msg The message object to deserialize into.
|
|
31867
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
31868
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos}
|
|
31869
|
+
*/
|
|
31870
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos.deserializeBinaryFromReader = function(msg, reader) {
|
|
31871
|
+
while (reader.nextField()) {
|
|
31872
|
+
if (reader.isEndGroup()) {
|
|
31873
|
+
break;
|
|
31874
|
+
}
|
|
31875
|
+
var field = reader.getFieldNumber();
|
|
31876
|
+
switch (field) {
|
|
31877
|
+
case 1:
|
|
31878
|
+
var value = new proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo;
|
|
31879
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.deserializeBinaryFromReader);
|
|
31880
|
+
msg.addFinalizedEpochInfos(value);
|
|
31881
|
+
break;
|
|
31882
|
+
default:
|
|
31883
|
+
reader.skipField();
|
|
31884
|
+
break;
|
|
31885
|
+
}
|
|
31886
|
+
}
|
|
31887
|
+
return msg;
|
|
31888
|
+
};
|
|
31889
|
+
|
|
31890
|
+
|
|
31891
|
+
/**
|
|
31892
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
31893
|
+
* @return {!Uint8Array}
|
|
31894
|
+
*/
|
|
31895
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos.prototype.serializeBinary = function() {
|
|
31896
|
+
var writer = new jspb.BinaryWriter();
|
|
31897
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos.serializeBinaryToWriter(this, writer);
|
|
31898
|
+
return writer.getResultBuffer();
|
|
31899
|
+
};
|
|
31900
|
+
|
|
31901
|
+
|
|
31902
|
+
/**
|
|
31903
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
31904
|
+
* format), writing to the given BinaryWriter.
|
|
31905
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos} message
|
|
31906
|
+
* @param {!jspb.BinaryWriter} writer
|
|
31907
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
31908
|
+
*/
|
|
31909
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos.serializeBinaryToWriter = function(message, writer) {
|
|
31910
|
+
var f = undefined;
|
|
31911
|
+
f = message.getFinalizedEpochInfosList();
|
|
31912
|
+
if (f.length > 0) {
|
|
31913
|
+
writer.writeRepeatedMessage(
|
|
31914
|
+
1,
|
|
31915
|
+
f,
|
|
31916
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.serializeBinaryToWriter
|
|
31917
|
+
);
|
|
31918
|
+
}
|
|
31919
|
+
};
|
|
31920
|
+
|
|
31921
|
+
|
|
31922
|
+
/**
|
|
31923
|
+
* repeated FinalizedEpochInfo finalized_epoch_infos = 1;
|
|
31924
|
+
* @return {!Array<!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo>}
|
|
31925
|
+
*/
|
|
31926
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos.prototype.getFinalizedEpochInfosList = function() {
|
|
31927
|
+
return /** @type{!Array<!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo>} */ (
|
|
31928
|
+
jspb.Message.getRepeatedWrapperField(this, proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo, 1));
|
|
31929
|
+
};
|
|
31930
|
+
|
|
31931
|
+
|
|
31932
|
+
/**
|
|
31933
|
+
* @param {!Array<!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo>} value
|
|
31934
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos} returns this
|
|
31935
|
+
*/
|
|
31936
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos.prototype.setFinalizedEpochInfosList = function(value) {
|
|
31937
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
31938
|
+
};
|
|
31939
|
+
|
|
31940
|
+
|
|
31941
|
+
/**
|
|
31942
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo=} opt_value
|
|
31943
|
+
* @param {number=} opt_index
|
|
31944
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo}
|
|
31945
|
+
*/
|
|
31946
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos.prototype.addFinalizedEpochInfos = function(opt_value, opt_index) {
|
|
31947
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo, opt_index);
|
|
31948
|
+
};
|
|
31949
|
+
|
|
31950
|
+
|
|
31951
|
+
/**
|
|
31952
|
+
* Clears the list making it empty but non-null.
|
|
31953
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos} returns this
|
|
31954
|
+
*/
|
|
31955
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos.prototype.clearFinalizedEpochInfosList = function() {
|
|
31956
|
+
return this.setFinalizedEpochInfosList([]);
|
|
31957
|
+
};
|
|
31958
|
+
|
|
31959
|
+
|
|
31960
|
+
|
|
31961
|
+
/**
|
|
31962
|
+
* List of repeated fields within this message type.
|
|
31963
|
+
* @private {!Array<number>}
|
|
31964
|
+
* @const
|
|
31965
|
+
*/
|
|
31966
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.repeatedFields_ = [13];
|
|
31967
|
+
|
|
31968
|
+
|
|
31969
|
+
|
|
31970
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
31971
|
+
/**
|
|
31972
|
+
* Creates an object representation of this proto.
|
|
31973
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
31974
|
+
* Optional fields that are not set will be set to undefined.
|
|
31975
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
31976
|
+
* For the list of reserved names please see:
|
|
31977
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
31978
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
31979
|
+
* JSPB instance for transitional soy proto support:
|
|
31980
|
+
* http://goto/soy-param-migration
|
|
31981
|
+
* @return {!Object}
|
|
31982
|
+
*/
|
|
31983
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.prototype.toObject = function(opt_includeInstance) {
|
|
31984
|
+
return proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.toObject(opt_includeInstance, this);
|
|
31985
|
+
};
|
|
31986
|
+
|
|
31987
|
+
|
|
31988
|
+
/**
|
|
31989
|
+
* Static version of the {@see toObject} method.
|
|
31990
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
31991
|
+
* the JSPB instance for transitional soy proto support:
|
|
31992
|
+
* http://goto/soy-param-migration
|
|
31993
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo} msg The msg instance to transform.
|
|
31994
|
+
* @return {!Object}
|
|
31995
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
31996
|
+
*/
|
|
31997
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.toObject = function(includeInstance, msg) {
|
|
31998
|
+
var f, obj = {
|
|
31999
|
+
number: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
32000
|
+
firstBlockHeight: jspb.Message.getFieldWithDefault(msg, 2, "0"),
|
|
32001
|
+
firstCoreBlockHeight: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
32002
|
+
firstBlockTime: jspb.Message.getFieldWithDefault(msg, 4, "0"),
|
|
32003
|
+
feeMultiplier: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
32004
|
+
protocolVersion: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
32005
|
+
totalBlocksInEpoch: jspb.Message.getFieldWithDefault(msg, 7, "0"),
|
|
32006
|
+
nextEpochStartCoreBlockHeight: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
32007
|
+
totalProcessingFees: jspb.Message.getFieldWithDefault(msg, 9, "0"),
|
|
32008
|
+
totalDistributedStorageFees: jspb.Message.getFieldWithDefault(msg, 10, "0"),
|
|
32009
|
+
totalCreatedStorageFees: jspb.Message.getFieldWithDefault(msg, 11, "0"),
|
|
32010
|
+
coreBlockRewards: jspb.Message.getFieldWithDefault(msg, 12, "0"),
|
|
32011
|
+
blockProposersList: jspb.Message.toObjectList(msg.getBlockProposersList(),
|
|
32012
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer.toObject, includeInstance)
|
|
32013
|
+
};
|
|
32014
|
+
|
|
32015
|
+
if (includeInstance) {
|
|
32016
|
+
obj.$jspbMessageInstance = msg;
|
|
32017
|
+
}
|
|
32018
|
+
return obj;
|
|
32019
|
+
};
|
|
32020
|
+
}
|
|
32021
|
+
|
|
32022
|
+
|
|
32023
|
+
/**
|
|
32024
|
+
* Deserializes binary data (in protobuf wire format).
|
|
32025
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
32026
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo}
|
|
32027
|
+
*/
|
|
32028
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.deserializeBinary = function(bytes) {
|
|
32029
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
32030
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo;
|
|
32031
|
+
return proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.deserializeBinaryFromReader(msg, reader);
|
|
32032
|
+
};
|
|
32033
|
+
|
|
32034
|
+
|
|
32035
|
+
/**
|
|
32036
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
32037
|
+
* given reader into the given message object.
|
|
32038
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo} msg The message object to deserialize into.
|
|
32039
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
32040
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo}
|
|
32041
|
+
*/
|
|
32042
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
32043
|
+
while (reader.nextField()) {
|
|
32044
|
+
if (reader.isEndGroup()) {
|
|
32045
|
+
break;
|
|
32046
|
+
}
|
|
32047
|
+
var field = reader.getFieldNumber();
|
|
32048
|
+
switch (field) {
|
|
32049
|
+
case 1:
|
|
32050
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
32051
|
+
msg.setNumber(value);
|
|
32052
|
+
break;
|
|
32053
|
+
case 2:
|
|
32054
|
+
var value = /** @type {string} */ (reader.readUint64String());
|
|
32055
|
+
msg.setFirstBlockHeight(value);
|
|
32056
|
+
break;
|
|
32057
|
+
case 3:
|
|
32058
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
32059
|
+
msg.setFirstCoreBlockHeight(value);
|
|
32060
|
+
break;
|
|
32061
|
+
case 4:
|
|
32062
|
+
var value = /** @type {string} */ (reader.readUint64String());
|
|
32063
|
+
msg.setFirstBlockTime(value);
|
|
32064
|
+
break;
|
|
32065
|
+
case 5:
|
|
32066
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
32067
|
+
msg.setFeeMultiplier(value);
|
|
32068
|
+
break;
|
|
32069
|
+
case 6:
|
|
32070
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
32071
|
+
msg.setProtocolVersion(value);
|
|
32072
|
+
break;
|
|
32073
|
+
case 7:
|
|
32074
|
+
var value = /** @type {string} */ (reader.readUint64String());
|
|
32075
|
+
msg.setTotalBlocksInEpoch(value);
|
|
32076
|
+
break;
|
|
32077
|
+
case 8:
|
|
32078
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
32079
|
+
msg.setNextEpochStartCoreBlockHeight(value);
|
|
32080
|
+
break;
|
|
32081
|
+
case 9:
|
|
32082
|
+
var value = /** @type {string} */ (reader.readUint64String());
|
|
32083
|
+
msg.setTotalProcessingFees(value);
|
|
32084
|
+
break;
|
|
32085
|
+
case 10:
|
|
32086
|
+
var value = /** @type {string} */ (reader.readUint64String());
|
|
32087
|
+
msg.setTotalDistributedStorageFees(value);
|
|
32088
|
+
break;
|
|
32089
|
+
case 11:
|
|
32090
|
+
var value = /** @type {string} */ (reader.readUint64String());
|
|
32091
|
+
msg.setTotalCreatedStorageFees(value);
|
|
32092
|
+
break;
|
|
32093
|
+
case 12:
|
|
32094
|
+
var value = /** @type {string} */ (reader.readUint64String());
|
|
32095
|
+
msg.setCoreBlockRewards(value);
|
|
32096
|
+
break;
|
|
32097
|
+
case 13:
|
|
32098
|
+
var value = new proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer;
|
|
32099
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer.deserializeBinaryFromReader);
|
|
32100
|
+
msg.addBlockProposers(value);
|
|
32101
|
+
break;
|
|
32102
|
+
default:
|
|
32103
|
+
reader.skipField();
|
|
32104
|
+
break;
|
|
32105
|
+
}
|
|
32106
|
+
}
|
|
32107
|
+
return msg;
|
|
32108
|
+
};
|
|
32109
|
+
|
|
32110
|
+
|
|
32111
|
+
/**
|
|
32112
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
32113
|
+
* @return {!Uint8Array}
|
|
32114
|
+
*/
|
|
32115
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.prototype.serializeBinary = function() {
|
|
32116
|
+
var writer = new jspb.BinaryWriter();
|
|
32117
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.serializeBinaryToWriter(this, writer);
|
|
32118
|
+
return writer.getResultBuffer();
|
|
32119
|
+
};
|
|
32120
|
+
|
|
32121
|
+
|
|
32122
|
+
/**
|
|
32123
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
32124
|
+
* format), writing to the given BinaryWriter.
|
|
32125
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo} message
|
|
32126
|
+
* @param {!jspb.BinaryWriter} writer
|
|
32127
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
32128
|
+
*/
|
|
32129
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.serializeBinaryToWriter = function(message, writer) {
|
|
32130
|
+
var f = undefined;
|
|
32131
|
+
f = message.getNumber();
|
|
32132
|
+
if (f !== 0) {
|
|
32133
|
+
writer.writeUint32(
|
|
32134
|
+
1,
|
|
32135
|
+
f
|
|
32136
|
+
);
|
|
32137
|
+
}
|
|
32138
|
+
f = message.getFirstBlockHeight();
|
|
32139
|
+
if (parseInt(f, 10) !== 0) {
|
|
32140
|
+
writer.writeUint64String(
|
|
32141
|
+
2,
|
|
32142
|
+
f
|
|
32143
|
+
);
|
|
32144
|
+
}
|
|
32145
|
+
f = message.getFirstCoreBlockHeight();
|
|
32146
|
+
if (f !== 0) {
|
|
32147
|
+
writer.writeUint32(
|
|
32148
|
+
3,
|
|
32149
|
+
f
|
|
32150
|
+
);
|
|
32151
|
+
}
|
|
32152
|
+
f = message.getFirstBlockTime();
|
|
32153
|
+
if (parseInt(f, 10) !== 0) {
|
|
32154
|
+
writer.writeUint64String(
|
|
32155
|
+
4,
|
|
32156
|
+
f
|
|
32157
|
+
);
|
|
32158
|
+
}
|
|
32159
|
+
f = message.getFeeMultiplier();
|
|
32160
|
+
if (f !== 0.0) {
|
|
32161
|
+
writer.writeDouble(
|
|
32162
|
+
5,
|
|
32163
|
+
f
|
|
32164
|
+
);
|
|
32165
|
+
}
|
|
32166
|
+
f = message.getProtocolVersion();
|
|
32167
|
+
if (f !== 0) {
|
|
32168
|
+
writer.writeUint32(
|
|
32169
|
+
6,
|
|
32170
|
+
f
|
|
32171
|
+
);
|
|
32172
|
+
}
|
|
32173
|
+
f = message.getTotalBlocksInEpoch();
|
|
32174
|
+
if (parseInt(f, 10) !== 0) {
|
|
32175
|
+
writer.writeUint64String(
|
|
32176
|
+
7,
|
|
32177
|
+
f
|
|
32178
|
+
);
|
|
32179
|
+
}
|
|
32180
|
+
f = message.getNextEpochStartCoreBlockHeight();
|
|
32181
|
+
if (f !== 0) {
|
|
32182
|
+
writer.writeUint32(
|
|
32183
|
+
8,
|
|
32184
|
+
f
|
|
32185
|
+
);
|
|
32186
|
+
}
|
|
32187
|
+
f = message.getTotalProcessingFees();
|
|
32188
|
+
if (parseInt(f, 10) !== 0) {
|
|
32189
|
+
writer.writeUint64String(
|
|
32190
|
+
9,
|
|
32191
|
+
f
|
|
32192
|
+
);
|
|
32193
|
+
}
|
|
32194
|
+
f = message.getTotalDistributedStorageFees();
|
|
32195
|
+
if (parseInt(f, 10) !== 0) {
|
|
32196
|
+
writer.writeUint64String(
|
|
32197
|
+
10,
|
|
32198
|
+
f
|
|
32199
|
+
);
|
|
32200
|
+
}
|
|
32201
|
+
f = message.getTotalCreatedStorageFees();
|
|
32202
|
+
if (parseInt(f, 10) !== 0) {
|
|
32203
|
+
writer.writeUint64String(
|
|
32204
|
+
11,
|
|
32205
|
+
f
|
|
32206
|
+
);
|
|
32207
|
+
}
|
|
32208
|
+
f = message.getCoreBlockRewards();
|
|
32209
|
+
if (parseInt(f, 10) !== 0) {
|
|
32210
|
+
writer.writeUint64String(
|
|
32211
|
+
12,
|
|
32212
|
+
f
|
|
32213
|
+
);
|
|
32214
|
+
}
|
|
32215
|
+
f = message.getBlockProposersList();
|
|
32216
|
+
if (f.length > 0) {
|
|
32217
|
+
writer.writeRepeatedMessage(
|
|
32218
|
+
13,
|
|
32219
|
+
f,
|
|
32220
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer.serializeBinaryToWriter
|
|
32221
|
+
);
|
|
32222
|
+
}
|
|
32223
|
+
};
|
|
32224
|
+
|
|
32225
|
+
|
|
32226
|
+
/**
|
|
32227
|
+
* optional uint32 number = 1;
|
|
32228
|
+
* @return {number}
|
|
32229
|
+
*/
|
|
32230
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.prototype.getNumber = function() {
|
|
32231
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
32232
|
+
};
|
|
32233
|
+
|
|
32234
|
+
|
|
32235
|
+
/**
|
|
32236
|
+
* @param {number} value
|
|
32237
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo} returns this
|
|
32238
|
+
*/
|
|
32239
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.prototype.setNumber = function(value) {
|
|
32240
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
32241
|
+
};
|
|
32242
|
+
|
|
32243
|
+
|
|
32244
|
+
/**
|
|
32245
|
+
* optional uint64 first_block_height = 2;
|
|
32246
|
+
* @return {string}
|
|
32247
|
+
*/
|
|
32248
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.prototype.getFirstBlockHeight = function() {
|
|
32249
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "0"));
|
|
32250
|
+
};
|
|
32251
|
+
|
|
32252
|
+
|
|
32253
|
+
/**
|
|
32254
|
+
* @param {string} value
|
|
32255
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo} returns this
|
|
32256
|
+
*/
|
|
32257
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.prototype.setFirstBlockHeight = function(value) {
|
|
32258
|
+
return jspb.Message.setProto3StringIntField(this, 2, value);
|
|
32259
|
+
};
|
|
32260
|
+
|
|
32261
|
+
|
|
32262
|
+
/**
|
|
32263
|
+
* optional uint32 first_core_block_height = 3;
|
|
32264
|
+
* @return {number}
|
|
32265
|
+
*/
|
|
32266
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.prototype.getFirstCoreBlockHeight = function() {
|
|
32267
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
32268
|
+
};
|
|
32269
|
+
|
|
32270
|
+
|
|
32271
|
+
/**
|
|
32272
|
+
* @param {number} value
|
|
32273
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo} returns this
|
|
32274
|
+
*/
|
|
32275
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.prototype.setFirstCoreBlockHeight = function(value) {
|
|
32276
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
32277
|
+
};
|
|
32278
|
+
|
|
32279
|
+
|
|
32280
|
+
/**
|
|
32281
|
+
* optional uint64 first_block_time = 4;
|
|
32282
|
+
* @return {string}
|
|
32283
|
+
*/
|
|
32284
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.prototype.getFirstBlockTime = function() {
|
|
32285
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "0"));
|
|
32286
|
+
};
|
|
32287
|
+
|
|
32288
|
+
|
|
32289
|
+
/**
|
|
32290
|
+
* @param {string} value
|
|
32291
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo} returns this
|
|
32292
|
+
*/
|
|
32293
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.prototype.setFirstBlockTime = function(value) {
|
|
32294
|
+
return jspb.Message.setProto3StringIntField(this, 4, value);
|
|
32295
|
+
};
|
|
32296
|
+
|
|
32297
|
+
|
|
32298
|
+
/**
|
|
32299
|
+
* optional double fee_multiplier = 5;
|
|
32300
|
+
* @return {number}
|
|
32301
|
+
*/
|
|
32302
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.prototype.getFeeMultiplier = function() {
|
|
32303
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
|
32304
|
+
};
|
|
32305
|
+
|
|
32306
|
+
|
|
32307
|
+
/**
|
|
32308
|
+
* @param {number} value
|
|
32309
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo} returns this
|
|
32310
|
+
*/
|
|
32311
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.prototype.setFeeMultiplier = function(value) {
|
|
32312
|
+
return jspb.Message.setProto3FloatField(this, 5, value);
|
|
32313
|
+
};
|
|
32314
|
+
|
|
32315
|
+
|
|
32316
|
+
/**
|
|
32317
|
+
* optional uint32 protocol_version = 6;
|
|
32318
|
+
* @return {number}
|
|
32319
|
+
*/
|
|
32320
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.prototype.getProtocolVersion = function() {
|
|
32321
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
32322
|
+
};
|
|
32323
|
+
|
|
32324
|
+
|
|
32325
|
+
/**
|
|
32326
|
+
* @param {number} value
|
|
32327
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo} returns this
|
|
32328
|
+
*/
|
|
32329
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.prototype.setProtocolVersion = function(value) {
|
|
32330
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
32331
|
+
};
|
|
32332
|
+
|
|
32333
|
+
|
|
32334
|
+
/**
|
|
32335
|
+
* optional uint64 total_blocks_in_epoch = 7;
|
|
32336
|
+
* @return {string}
|
|
32337
|
+
*/
|
|
32338
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.prototype.getTotalBlocksInEpoch = function() {
|
|
32339
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "0"));
|
|
32340
|
+
};
|
|
32341
|
+
|
|
32342
|
+
|
|
32343
|
+
/**
|
|
32344
|
+
* @param {string} value
|
|
32345
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo} returns this
|
|
32346
|
+
*/
|
|
32347
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.prototype.setTotalBlocksInEpoch = function(value) {
|
|
32348
|
+
return jspb.Message.setProto3StringIntField(this, 7, value);
|
|
32349
|
+
};
|
|
32350
|
+
|
|
32351
|
+
|
|
32352
|
+
/**
|
|
32353
|
+
* optional uint32 next_epoch_start_core_block_height = 8;
|
|
32354
|
+
* @return {number}
|
|
32355
|
+
*/
|
|
32356
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.prototype.getNextEpochStartCoreBlockHeight = function() {
|
|
32357
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
32358
|
+
};
|
|
32359
|
+
|
|
32360
|
+
|
|
32361
|
+
/**
|
|
32362
|
+
* @param {number} value
|
|
32363
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo} returns this
|
|
32364
|
+
*/
|
|
32365
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.prototype.setNextEpochStartCoreBlockHeight = function(value) {
|
|
32366
|
+
return jspb.Message.setProto3IntField(this, 8, value);
|
|
32367
|
+
};
|
|
32368
|
+
|
|
32369
|
+
|
|
32370
|
+
/**
|
|
32371
|
+
* optional uint64 total_processing_fees = 9;
|
|
32372
|
+
* @return {string}
|
|
32373
|
+
*/
|
|
32374
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.prototype.getTotalProcessingFees = function() {
|
|
32375
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, "0"));
|
|
32376
|
+
};
|
|
32377
|
+
|
|
32378
|
+
|
|
32379
|
+
/**
|
|
32380
|
+
* @param {string} value
|
|
32381
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo} returns this
|
|
32382
|
+
*/
|
|
32383
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.prototype.setTotalProcessingFees = function(value) {
|
|
32384
|
+
return jspb.Message.setProto3StringIntField(this, 9, value);
|
|
32385
|
+
};
|
|
32386
|
+
|
|
32387
|
+
|
|
32388
|
+
/**
|
|
32389
|
+
* optional uint64 total_distributed_storage_fees = 10;
|
|
32390
|
+
* @return {string}
|
|
32391
|
+
*/
|
|
32392
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.prototype.getTotalDistributedStorageFees = function() {
|
|
32393
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, "0"));
|
|
32394
|
+
};
|
|
32395
|
+
|
|
32396
|
+
|
|
32397
|
+
/**
|
|
32398
|
+
* @param {string} value
|
|
32399
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo} returns this
|
|
32400
|
+
*/
|
|
32401
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.prototype.setTotalDistributedStorageFees = function(value) {
|
|
32402
|
+
return jspb.Message.setProto3StringIntField(this, 10, value);
|
|
32403
|
+
};
|
|
32404
|
+
|
|
32405
|
+
|
|
32406
|
+
/**
|
|
32407
|
+
* optional uint64 total_created_storage_fees = 11;
|
|
32408
|
+
* @return {string}
|
|
32409
|
+
*/
|
|
32410
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.prototype.getTotalCreatedStorageFees = function() {
|
|
32411
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, "0"));
|
|
32412
|
+
};
|
|
32413
|
+
|
|
32414
|
+
|
|
32415
|
+
/**
|
|
32416
|
+
* @param {string} value
|
|
32417
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo} returns this
|
|
32418
|
+
*/
|
|
32419
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.prototype.setTotalCreatedStorageFees = function(value) {
|
|
32420
|
+
return jspb.Message.setProto3StringIntField(this, 11, value);
|
|
32421
|
+
};
|
|
32422
|
+
|
|
32423
|
+
|
|
32424
|
+
/**
|
|
32425
|
+
* optional uint64 core_block_rewards = 12;
|
|
32426
|
+
* @return {string}
|
|
32427
|
+
*/
|
|
32428
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.prototype.getCoreBlockRewards = function() {
|
|
32429
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, "0"));
|
|
32430
|
+
};
|
|
32431
|
+
|
|
32432
|
+
|
|
32433
|
+
/**
|
|
32434
|
+
* @param {string} value
|
|
32435
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo} returns this
|
|
32436
|
+
*/
|
|
32437
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.prototype.setCoreBlockRewards = function(value) {
|
|
32438
|
+
return jspb.Message.setProto3StringIntField(this, 12, value);
|
|
32439
|
+
};
|
|
32440
|
+
|
|
32441
|
+
|
|
32442
|
+
/**
|
|
32443
|
+
* repeated BlockProposer block_proposers = 13;
|
|
32444
|
+
* @return {!Array<!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer>}
|
|
32445
|
+
*/
|
|
32446
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.prototype.getBlockProposersList = function() {
|
|
32447
|
+
return /** @type{!Array<!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer>} */ (
|
|
32448
|
+
jspb.Message.getRepeatedWrapperField(this, proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer, 13));
|
|
32449
|
+
};
|
|
32450
|
+
|
|
32451
|
+
|
|
32452
|
+
/**
|
|
32453
|
+
* @param {!Array<!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer>} value
|
|
32454
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo} returns this
|
|
32455
|
+
*/
|
|
32456
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.prototype.setBlockProposersList = function(value) {
|
|
32457
|
+
return jspb.Message.setRepeatedWrapperField(this, 13, value);
|
|
32458
|
+
};
|
|
32459
|
+
|
|
32460
|
+
|
|
32461
|
+
/**
|
|
32462
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer=} opt_value
|
|
32463
|
+
* @param {number=} opt_index
|
|
32464
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer}
|
|
32465
|
+
*/
|
|
32466
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.prototype.addBlockProposers = function(opt_value, opt_index) {
|
|
32467
|
+
return jspb.Message.addToRepeatedWrapperField(this, 13, opt_value, proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer, opt_index);
|
|
32468
|
+
};
|
|
32469
|
+
|
|
32470
|
+
|
|
32471
|
+
/**
|
|
32472
|
+
* Clears the list making it empty but non-null.
|
|
32473
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo} returns this
|
|
32474
|
+
*/
|
|
32475
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo.prototype.clearBlockProposersList = function() {
|
|
32476
|
+
return this.setBlockProposersList([]);
|
|
32477
|
+
};
|
|
32478
|
+
|
|
32479
|
+
|
|
32480
|
+
|
|
32481
|
+
|
|
32482
|
+
|
|
32483
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
32484
|
+
/**
|
|
32485
|
+
* Creates an object representation of this proto.
|
|
32486
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
32487
|
+
* Optional fields that are not set will be set to undefined.
|
|
32488
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
32489
|
+
* For the list of reserved names please see:
|
|
32490
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
32491
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
32492
|
+
* JSPB instance for transitional soy proto support:
|
|
32493
|
+
* http://goto/soy-param-migration
|
|
32494
|
+
* @return {!Object}
|
|
32495
|
+
*/
|
|
32496
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer.prototype.toObject = function(opt_includeInstance) {
|
|
32497
|
+
return proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer.toObject(opt_includeInstance, this);
|
|
32498
|
+
};
|
|
32499
|
+
|
|
32500
|
+
|
|
32501
|
+
/**
|
|
32502
|
+
* Static version of the {@see toObject} method.
|
|
32503
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
32504
|
+
* the JSPB instance for transitional soy proto support:
|
|
32505
|
+
* http://goto/soy-param-migration
|
|
32506
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer} msg The msg instance to transform.
|
|
32507
|
+
* @return {!Object}
|
|
32508
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
32509
|
+
*/
|
|
32510
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer.toObject = function(includeInstance, msg) {
|
|
32511
|
+
var f, obj = {
|
|
32512
|
+
proposerId: msg.getProposerId_asB64(),
|
|
32513
|
+
blockCount: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
32514
|
+
};
|
|
32515
|
+
|
|
32516
|
+
if (includeInstance) {
|
|
32517
|
+
obj.$jspbMessageInstance = msg;
|
|
32518
|
+
}
|
|
32519
|
+
return obj;
|
|
32520
|
+
};
|
|
32521
|
+
}
|
|
32522
|
+
|
|
32523
|
+
|
|
32524
|
+
/**
|
|
32525
|
+
* Deserializes binary data (in protobuf wire format).
|
|
32526
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
32527
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer}
|
|
32528
|
+
*/
|
|
32529
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer.deserializeBinary = function(bytes) {
|
|
32530
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
32531
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer;
|
|
32532
|
+
return proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer.deserializeBinaryFromReader(msg, reader);
|
|
32533
|
+
};
|
|
32534
|
+
|
|
32535
|
+
|
|
32536
|
+
/**
|
|
32537
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
32538
|
+
* given reader into the given message object.
|
|
32539
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer} msg The message object to deserialize into.
|
|
32540
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
32541
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer}
|
|
32542
|
+
*/
|
|
32543
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer.deserializeBinaryFromReader = function(msg, reader) {
|
|
32544
|
+
while (reader.nextField()) {
|
|
32545
|
+
if (reader.isEndGroup()) {
|
|
32546
|
+
break;
|
|
32547
|
+
}
|
|
32548
|
+
var field = reader.getFieldNumber();
|
|
32549
|
+
switch (field) {
|
|
32550
|
+
case 1:
|
|
32551
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
32552
|
+
msg.setProposerId(value);
|
|
32553
|
+
break;
|
|
32554
|
+
case 2:
|
|
32555
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
32556
|
+
msg.setBlockCount(value);
|
|
32557
|
+
break;
|
|
32558
|
+
default:
|
|
32559
|
+
reader.skipField();
|
|
32560
|
+
break;
|
|
32561
|
+
}
|
|
32562
|
+
}
|
|
32563
|
+
return msg;
|
|
32564
|
+
};
|
|
32565
|
+
|
|
32566
|
+
|
|
32567
|
+
/**
|
|
32568
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
32569
|
+
* @return {!Uint8Array}
|
|
32570
|
+
*/
|
|
32571
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer.prototype.serializeBinary = function() {
|
|
32572
|
+
var writer = new jspb.BinaryWriter();
|
|
32573
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer.serializeBinaryToWriter(this, writer);
|
|
32574
|
+
return writer.getResultBuffer();
|
|
32575
|
+
};
|
|
32576
|
+
|
|
32577
|
+
|
|
32578
|
+
/**
|
|
32579
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
32580
|
+
* format), writing to the given BinaryWriter.
|
|
32581
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer} message
|
|
32582
|
+
* @param {!jspb.BinaryWriter} writer
|
|
32583
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
32584
|
+
*/
|
|
32585
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer.serializeBinaryToWriter = function(message, writer) {
|
|
32586
|
+
var f = undefined;
|
|
32587
|
+
f = message.getProposerId_asU8();
|
|
32588
|
+
if (f.length > 0) {
|
|
32589
|
+
writer.writeBytes(
|
|
32590
|
+
1,
|
|
32591
|
+
f
|
|
32592
|
+
);
|
|
32593
|
+
}
|
|
32594
|
+
f = message.getBlockCount();
|
|
32595
|
+
if (f !== 0) {
|
|
32596
|
+
writer.writeUint32(
|
|
32597
|
+
2,
|
|
32598
|
+
f
|
|
32599
|
+
);
|
|
32600
|
+
}
|
|
32601
|
+
};
|
|
32602
|
+
|
|
32603
|
+
|
|
32604
|
+
/**
|
|
32605
|
+
* optional bytes proposer_id = 1;
|
|
32606
|
+
* @return {string}
|
|
32607
|
+
*/
|
|
32608
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer.prototype.getProposerId = function() {
|
|
32609
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
32610
|
+
};
|
|
32611
|
+
|
|
32612
|
+
|
|
32613
|
+
/**
|
|
32614
|
+
* optional bytes proposer_id = 1;
|
|
32615
|
+
* This is a type-conversion wrapper around `getProposerId()`
|
|
32616
|
+
* @return {string}
|
|
32617
|
+
*/
|
|
32618
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer.prototype.getProposerId_asB64 = function() {
|
|
32619
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
32620
|
+
this.getProposerId()));
|
|
32621
|
+
};
|
|
32622
|
+
|
|
32623
|
+
|
|
32624
|
+
/**
|
|
32625
|
+
* optional bytes proposer_id = 1;
|
|
32626
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
32627
|
+
* @see http://caniuse.com/Uint8Array
|
|
32628
|
+
* This is a type-conversion wrapper around `getProposerId()`
|
|
32629
|
+
* @return {!Uint8Array}
|
|
32630
|
+
*/
|
|
32631
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer.prototype.getProposerId_asU8 = function() {
|
|
32632
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
32633
|
+
this.getProposerId()));
|
|
32634
|
+
};
|
|
32635
|
+
|
|
32636
|
+
|
|
32637
|
+
/**
|
|
32638
|
+
* @param {!(string|Uint8Array)} value
|
|
32639
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer} returns this
|
|
32640
|
+
*/
|
|
32641
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer.prototype.setProposerId = function(value) {
|
|
32642
|
+
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
32643
|
+
};
|
|
32644
|
+
|
|
32645
|
+
|
|
32646
|
+
/**
|
|
32647
|
+
* optional uint32 block_count = 2;
|
|
32648
|
+
* @return {number}
|
|
32649
|
+
*/
|
|
32650
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer.prototype.getBlockCount = function() {
|
|
32651
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
32652
|
+
};
|
|
32653
|
+
|
|
32654
|
+
|
|
32655
|
+
/**
|
|
32656
|
+
* @param {number} value
|
|
32657
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer} returns this
|
|
32658
|
+
*/
|
|
32659
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer.prototype.setBlockCount = function(value) {
|
|
32660
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
32661
|
+
};
|
|
32662
|
+
|
|
32663
|
+
|
|
32664
|
+
/**
|
|
32665
|
+
* optional FinalizedEpochInfos epochs = 1;
|
|
32666
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos}
|
|
32667
|
+
*/
|
|
32668
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.prototype.getEpochs = function() {
|
|
32669
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos} */ (
|
|
32670
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos, 1));
|
|
32671
|
+
};
|
|
32672
|
+
|
|
32673
|
+
|
|
32674
|
+
/**
|
|
32675
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos|undefined} value
|
|
32676
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0} returns this
|
|
32677
|
+
*/
|
|
32678
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.prototype.setEpochs = function(value) {
|
|
32679
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.oneofGroups_[0], value);
|
|
32680
|
+
};
|
|
32681
|
+
|
|
32682
|
+
|
|
32683
|
+
/**
|
|
32684
|
+
* Clears the message field making it undefined.
|
|
32685
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0} returns this
|
|
32686
|
+
*/
|
|
32687
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.prototype.clearEpochs = function() {
|
|
32688
|
+
return this.setEpochs(undefined);
|
|
32689
|
+
};
|
|
32690
|
+
|
|
32691
|
+
|
|
32692
|
+
/**
|
|
32693
|
+
* Returns whether this field is set.
|
|
32694
|
+
* @return {boolean}
|
|
32695
|
+
*/
|
|
32696
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.prototype.hasEpochs = function() {
|
|
32697
|
+
return jspb.Message.getField(this, 1) != null;
|
|
32698
|
+
};
|
|
32699
|
+
|
|
32700
|
+
|
|
32701
|
+
/**
|
|
32702
|
+
* optional Proof proof = 2;
|
|
32703
|
+
* @return {?proto.org.dash.platform.dapi.v0.Proof}
|
|
32704
|
+
*/
|
|
32705
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.prototype.getProof = function() {
|
|
32706
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ (
|
|
32707
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
|
|
32708
|
+
};
|
|
32709
|
+
|
|
32710
|
+
|
|
32711
|
+
/**
|
|
32712
|
+
* @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value
|
|
32713
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0} returns this
|
|
32714
|
+
*/
|
|
32715
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.prototype.setProof = function(value) {
|
|
32716
|
+
return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.oneofGroups_[0], value);
|
|
32717
|
+
};
|
|
32718
|
+
|
|
32719
|
+
|
|
32720
|
+
/**
|
|
32721
|
+
* Clears the message field making it undefined.
|
|
32722
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0} returns this
|
|
32723
|
+
*/
|
|
32724
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.prototype.clearProof = function() {
|
|
32725
|
+
return this.setProof(undefined);
|
|
32726
|
+
};
|
|
32727
|
+
|
|
32728
|
+
|
|
32729
|
+
/**
|
|
32730
|
+
* Returns whether this field is set.
|
|
32731
|
+
* @return {boolean}
|
|
32732
|
+
*/
|
|
32733
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.prototype.hasProof = function() {
|
|
32734
|
+
return jspb.Message.getField(this, 2) != null;
|
|
32735
|
+
};
|
|
32736
|
+
|
|
32737
|
+
|
|
32738
|
+
/**
|
|
32739
|
+
* optional ResponseMetadata metadata = 3;
|
|
32740
|
+
* @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata}
|
|
32741
|
+
*/
|
|
32742
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.prototype.getMetadata = function() {
|
|
32743
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ (
|
|
32744
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3));
|
|
32745
|
+
};
|
|
32746
|
+
|
|
32747
|
+
|
|
32748
|
+
/**
|
|
32749
|
+
* @param {?proto.org.dash.platform.dapi.v0.ResponseMetadata|undefined} value
|
|
32750
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0} returns this
|
|
32751
|
+
*/
|
|
32752
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.prototype.setMetadata = function(value) {
|
|
32753
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
32754
|
+
};
|
|
32755
|
+
|
|
32756
|
+
|
|
32757
|
+
/**
|
|
32758
|
+
* Clears the message field making it undefined.
|
|
32759
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0} returns this
|
|
32760
|
+
*/
|
|
32761
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.prototype.clearMetadata = function() {
|
|
32762
|
+
return this.setMetadata(undefined);
|
|
32763
|
+
};
|
|
32764
|
+
|
|
32765
|
+
|
|
32766
|
+
/**
|
|
32767
|
+
* Returns whether this field is set.
|
|
32768
|
+
* @return {boolean}
|
|
32769
|
+
*/
|
|
32770
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.prototype.hasMetadata = function() {
|
|
32771
|
+
return jspb.Message.getField(this, 3) != null;
|
|
32772
|
+
};
|
|
32773
|
+
|
|
32774
|
+
|
|
32775
|
+
/**
|
|
32776
|
+
* optional GetFinalizedEpochInfosResponseV0 v0 = 1;
|
|
32777
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0}
|
|
32778
|
+
*/
|
|
32779
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.prototype.getV0 = function() {
|
|
32780
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0} */ (
|
|
32781
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0, 1));
|
|
32782
|
+
};
|
|
32783
|
+
|
|
32784
|
+
|
|
32785
|
+
/**
|
|
32786
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0|undefined} value
|
|
32787
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse} returns this
|
|
32788
|
+
*/
|
|
32789
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.prototype.setV0 = function(value) {
|
|
32790
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.oneofGroups_[0], value);
|
|
32791
|
+
};
|
|
32792
|
+
|
|
32793
|
+
|
|
32794
|
+
/**
|
|
32795
|
+
* Clears the message field making it undefined.
|
|
32796
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse} returns this
|
|
32797
|
+
*/
|
|
32798
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.prototype.clearV0 = function() {
|
|
32799
|
+
return this.setV0(undefined);
|
|
32800
|
+
};
|
|
32801
|
+
|
|
32802
|
+
|
|
32803
|
+
/**
|
|
32804
|
+
* Returns whether this field is set.
|
|
32805
|
+
* @return {boolean}
|
|
32806
|
+
*/
|
|
32807
|
+
proto.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.prototype.hasV0 = function() {
|
|
32808
|
+
return jspb.Message.getField(this, 1) != null;
|
|
32809
|
+
};
|
|
32810
|
+
|
|
32811
|
+
|
|
32812
|
+
|
|
32813
|
+
/**
|
|
32814
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
32815
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
32816
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
32817
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
32818
|
+
* @private {!Array<!Array<number>>}
|
|
32819
|
+
* @const
|
|
32820
|
+
*/
|
|
32821
|
+
proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.oneofGroups_ = [[1]];
|
|
32822
|
+
|
|
32823
|
+
/**
|
|
32824
|
+
* @enum {number}
|
|
32825
|
+
*/
|
|
32826
|
+
proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.VersionCase = {
|
|
32827
|
+
VERSION_NOT_SET: 0,
|
|
32828
|
+
V0: 1
|
|
32829
|
+
};
|
|
32830
|
+
|
|
32831
|
+
/**
|
|
32832
|
+
* @return {proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.VersionCase}
|
|
32833
|
+
*/
|
|
32834
|
+
proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.prototype.getVersionCase = function() {
|
|
32835
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.oneofGroups_[0]));
|
|
32836
|
+
};
|
|
32837
|
+
|
|
32838
|
+
|
|
32839
|
+
|
|
32840
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
32841
|
+
/**
|
|
32842
|
+
* Creates an object representation of this proto.
|
|
32843
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
32844
|
+
* Optional fields that are not set will be set to undefined.
|
|
32845
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
32846
|
+
* For the list of reserved names please see:
|
|
32847
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
32848
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
32849
|
+
* JSPB instance for transitional soy proto support:
|
|
32850
|
+
* http://goto/soy-param-migration
|
|
32851
|
+
* @return {!Object}
|
|
32852
|
+
*/
|
|
32853
|
+
proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
32854
|
+
return proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.toObject(opt_includeInstance, this);
|
|
32855
|
+
};
|
|
32856
|
+
|
|
32857
|
+
|
|
32858
|
+
/**
|
|
32859
|
+
* Static version of the {@see toObject} method.
|
|
32860
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
32861
|
+
* the JSPB instance for transitional soy proto support:
|
|
32862
|
+
* http://goto/soy-param-migration
|
|
32863
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest} msg The msg instance to transform.
|
|
32864
|
+
* @return {!Object}
|
|
32865
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
32866
|
+
*/
|
|
32867
|
+
proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.toObject = function(includeInstance, msg) {
|
|
32868
|
+
var f, obj = {
|
|
32869
|
+
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.toObject(includeInstance, f)
|
|
32870
|
+
};
|
|
32871
|
+
|
|
32872
|
+
if (includeInstance) {
|
|
32873
|
+
obj.$jspbMessageInstance = msg;
|
|
32874
|
+
}
|
|
32875
|
+
return obj;
|
|
32876
|
+
};
|
|
32877
|
+
}
|
|
32878
|
+
|
|
32879
|
+
|
|
32880
|
+
/**
|
|
32881
|
+
* Deserializes binary data (in protobuf wire format).
|
|
32882
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
32883
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest}
|
|
32884
|
+
*/
|
|
32885
|
+
proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.deserializeBinary = function(bytes) {
|
|
32886
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
32887
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest;
|
|
32888
|
+
return proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.deserializeBinaryFromReader(msg, reader);
|
|
32889
|
+
};
|
|
32890
|
+
|
|
32891
|
+
|
|
32892
|
+
/**
|
|
32893
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
32894
|
+
* given reader into the given message object.
|
|
32895
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest} msg The message object to deserialize into.
|
|
32896
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
32897
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest}
|
|
32898
|
+
*/
|
|
32899
|
+
proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
32900
|
+
while (reader.nextField()) {
|
|
32901
|
+
if (reader.isEndGroup()) {
|
|
32902
|
+
break;
|
|
32903
|
+
}
|
|
32904
|
+
var field = reader.getFieldNumber();
|
|
32905
|
+
switch (field) {
|
|
32906
|
+
case 1:
|
|
32907
|
+
var value = new proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0;
|
|
32908
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.deserializeBinaryFromReader);
|
|
32909
|
+
msg.setV0(value);
|
|
32910
|
+
break;
|
|
32911
|
+
default:
|
|
32912
|
+
reader.skipField();
|
|
32913
|
+
break;
|
|
32914
|
+
}
|
|
32915
|
+
}
|
|
32916
|
+
return msg;
|
|
32917
|
+
};
|
|
32918
|
+
|
|
32919
|
+
|
|
32920
|
+
/**
|
|
32921
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
32922
|
+
* @return {!Uint8Array}
|
|
32923
|
+
*/
|
|
32924
|
+
proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.prototype.serializeBinary = function() {
|
|
32925
|
+
var writer = new jspb.BinaryWriter();
|
|
32926
|
+
proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.serializeBinaryToWriter(this, writer);
|
|
32927
|
+
return writer.getResultBuffer();
|
|
32928
|
+
};
|
|
32929
|
+
|
|
32930
|
+
|
|
32931
|
+
/**
|
|
32932
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
32933
|
+
* format), writing to the given BinaryWriter.
|
|
32934
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest} message
|
|
32935
|
+
* @param {!jspb.BinaryWriter} writer
|
|
32936
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
32937
|
+
*/
|
|
32938
|
+
proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
32939
|
+
var f = undefined;
|
|
32940
|
+
f = message.getV0();
|
|
32941
|
+
if (f != null) {
|
|
32942
|
+
writer.writeMessage(
|
|
32943
|
+
1,
|
|
32944
|
+
f,
|
|
32945
|
+
proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.serializeBinaryToWriter
|
|
32946
|
+
);
|
|
32947
|
+
}
|
|
32948
|
+
};
|
|
32949
|
+
|
|
32950
|
+
|
|
32951
|
+
|
|
32952
|
+
/**
|
|
32953
|
+
* List of repeated fields within this message type.
|
|
32954
|
+
* @private {!Array<number>}
|
|
32955
|
+
* @const
|
|
32956
|
+
*/
|
|
32957
|
+
proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.repeatedFields_ = [4,5];
|
|
32958
|
+
|
|
32959
|
+
|
|
32960
|
+
|
|
32961
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
32962
|
+
/**
|
|
32963
|
+
* Creates an object representation of this proto.
|
|
32964
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
32965
|
+
* Optional fields that are not set will be set to undefined.
|
|
32966
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
32967
|
+
* For the list of reserved names please see:
|
|
32968
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
32969
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
32970
|
+
* JSPB instance for transitional soy proto support:
|
|
32971
|
+
* http://goto/soy-param-migration
|
|
32972
|
+
* @return {!Object}
|
|
32973
|
+
*/
|
|
32974
|
+
proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.prototype.toObject = function(opt_includeInstance) {
|
|
32975
|
+
return proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.toObject(opt_includeInstance, this);
|
|
32976
|
+
};
|
|
32977
|
+
|
|
32978
|
+
|
|
32979
|
+
/**
|
|
32980
|
+
* Static version of the {@see toObject} method.
|
|
32981
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
32982
|
+
* the JSPB instance for transitional soy proto support:
|
|
32983
|
+
* http://goto/soy-param-migration
|
|
32984
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0} msg The msg instance to transform.
|
|
32985
|
+
* @return {!Object}
|
|
32986
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
32987
|
+
*/
|
|
32988
|
+
proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.toObject = function(includeInstance, msg) {
|
|
32989
|
+
var f, obj = {
|
|
32990
|
+
contractId: msg.getContractId_asB64(),
|
|
32991
|
+
documentTypeName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
32992
|
+
indexName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
32993
|
+
startIndexValuesList: msg.getStartIndexValuesList_asB64(),
|
|
32994
|
+
endIndexValuesList: msg.getEndIndexValuesList_asB64(),
|
|
32995
|
+
startAtValueInfo: (f = msg.getStartAtValueInfo()) && proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.StartAtValueInfo.toObject(includeInstance, f),
|
|
32996
|
+
count: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
32997
|
+
orderAscending: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
32998
|
+
prove: jspb.Message.getBooleanFieldWithDefault(msg, 9, false)
|
|
32999
|
+
};
|
|
33000
|
+
|
|
33001
|
+
if (includeInstance) {
|
|
33002
|
+
obj.$jspbMessageInstance = msg;
|
|
33003
|
+
}
|
|
33004
|
+
return obj;
|
|
33005
|
+
};
|
|
33006
|
+
}
|
|
33007
|
+
|
|
33008
|
+
|
|
33009
|
+
/**
|
|
33010
|
+
* Deserializes binary data (in protobuf wire format).
|
|
33011
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
33012
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0}
|
|
33013
|
+
*/
|
|
33014
|
+
proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.deserializeBinary = function(bytes) {
|
|
33015
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
33016
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0;
|
|
33017
|
+
return proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.deserializeBinaryFromReader(msg, reader);
|
|
33018
|
+
};
|
|
33019
|
+
|
|
33020
|
+
|
|
33021
|
+
/**
|
|
33022
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
33023
|
+
* given reader into the given message object.
|
|
33024
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0} msg The message object to deserialize into.
|
|
33025
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
33026
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0}
|
|
33027
|
+
*/
|
|
33028
|
+
proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.deserializeBinaryFromReader = function(msg, reader) {
|
|
33029
|
+
while (reader.nextField()) {
|
|
33030
|
+
if (reader.isEndGroup()) {
|
|
33031
|
+
break;
|
|
33032
|
+
}
|
|
33033
|
+
var field = reader.getFieldNumber();
|
|
33034
|
+
switch (field) {
|
|
33035
|
+
case 1:
|
|
33036
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
33037
|
+
msg.setContractId(value);
|
|
33038
|
+
break;
|
|
33039
|
+
case 2:
|
|
33040
|
+
var value = /** @type {string} */ (reader.readString());
|
|
33041
|
+
msg.setDocumentTypeName(value);
|
|
33042
|
+
break;
|
|
33043
|
+
case 3:
|
|
33044
|
+
var value = /** @type {string} */ (reader.readString());
|
|
33045
|
+
msg.setIndexName(value);
|
|
33046
|
+
break;
|
|
33047
|
+
case 4:
|
|
33048
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
33049
|
+
msg.addStartIndexValues(value);
|
|
33050
|
+
break;
|
|
33051
|
+
case 5:
|
|
33052
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
33053
|
+
msg.addEndIndexValues(value);
|
|
33054
|
+
break;
|
|
33055
|
+
case 6:
|
|
33056
|
+
var value = new proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.StartAtValueInfo;
|
|
33057
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.StartAtValueInfo.deserializeBinaryFromReader);
|
|
33058
|
+
msg.setStartAtValueInfo(value);
|
|
33059
|
+
break;
|
|
33060
|
+
case 7:
|
|
33061
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
33062
|
+
msg.setCount(value);
|
|
33063
|
+
break;
|
|
33064
|
+
case 8:
|
|
33065
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
33066
|
+
msg.setOrderAscending(value);
|
|
33067
|
+
break;
|
|
33068
|
+
case 9:
|
|
33069
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
33070
|
+
msg.setProve(value);
|
|
33071
|
+
break;
|
|
33072
|
+
default:
|
|
33073
|
+
reader.skipField();
|
|
33074
|
+
break;
|
|
33075
|
+
}
|
|
33076
|
+
}
|
|
33077
|
+
return msg;
|
|
33078
|
+
};
|
|
33079
|
+
|
|
33080
|
+
|
|
33081
|
+
/**
|
|
33082
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
33083
|
+
* @return {!Uint8Array}
|
|
33084
|
+
*/
|
|
33085
|
+
proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.prototype.serializeBinary = function() {
|
|
33086
|
+
var writer = new jspb.BinaryWriter();
|
|
33087
|
+
proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.serializeBinaryToWriter(this, writer);
|
|
33088
|
+
return writer.getResultBuffer();
|
|
33089
|
+
};
|
|
33090
|
+
|
|
33091
|
+
|
|
33092
|
+
/**
|
|
33093
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
33094
|
+
* format), writing to the given BinaryWriter.
|
|
33095
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0} message
|
|
33096
|
+
* @param {!jspb.BinaryWriter} writer
|
|
33097
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
33098
|
+
*/
|
|
33099
|
+
proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.serializeBinaryToWriter = function(message, writer) {
|
|
33100
|
+
var f = undefined;
|
|
33101
|
+
f = message.getContractId_asU8();
|
|
33102
|
+
if (f.length > 0) {
|
|
33103
|
+
writer.writeBytes(
|
|
33104
|
+
1,
|
|
33105
|
+
f
|
|
33106
|
+
);
|
|
33107
|
+
}
|
|
33108
|
+
f = message.getDocumentTypeName();
|
|
33109
|
+
if (f.length > 0) {
|
|
33110
|
+
writer.writeString(
|
|
33111
|
+
2,
|
|
33112
|
+
f
|
|
33113
|
+
);
|
|
33114
|
+
}
|
|
33115
|
+
f = message.getIndexName();
|
|
33116
|
+
if (f.length > 0) {
|
|
33117
|
+
writer.writeString(
|
|
33118
|
+
3,
|
|
33119
|
+
f
|
|
33120
|
+
);
|
|
33121
|
+
}
|
|
33122
|
+
f = message.getStartIndexValuesList_asU8();
|
|
33123
|
+
if (f.length > 0) {
|
|
33124
|
+
writer.writeRepeatedBytes(
|
|
33125
|
+
4,
|
|
33126
|
+
f
|
|
33127
|
+
);
|
|
33128
|
+
}
|
|
33129
|
+
f = message.getEndIndexValuesList_asU8();
|
|
33130
|
+
if (f.length > 0) {
|
|
33131
|
+
writer.writeRepeatedBytes(
|
|
33132
|
+
5,
|
|
33133
|
+
f
|
|
33134
|
+
);
|
|
33135
|
+
}
|
|
33136
|
+
f = message.getStartAtValueInfo();
|
|
33137
|
+
if (f != null) {
|
|
33138
|
+
writer.writeMessage(
|
|
33139
|
+
6,
|
|
33140
|
+
f,
|
|
33141
|
+
proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.StartAtValueInfo.serializeBinaryToWriter
|
|
33142
|
+
);
|
|
33143
|
+
}
|
|
33144
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
|
33145
|
+
if (f != null) {
|
|
33146
|
+
writer.writeUint32(
|
|
33147
|
+
7,
|
|
33148
|
+
f
|
|
33149
|
+
);
|
|
33150
|
+
}
|
|
33151
|
+
f = message.getOrderAscending();
|
|
33152
|
+
if (f) {
|
|
33153
|
+
writer.writeBool(
|
|
33154
|
+
8,
|
|
33155
|
+
f
|
|
33156
|
+
);
|
|
33157
|
+
}
|
|
33158
|
+
f = message.getProve();
|
|
33159
|
+
if (f) {
|
|
33160
|
+
writer.writeBool(
|
|
33161
|
+
9,
|
|
33162
|
+
f
|
|
33163
|
+
);
|
|
33164
|
+
}
|
|
33165
|
+
};
|
|
33166
|
+
|
|
33167
|
+
|
|
33168
|
+
|
|
33169
|
+
|
|
33170
|
+
|
|
33171
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
33172
|
+
/**
|
|
33173
|
+
* Creates an object representation of this proto.
|
|
33174
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
33175
|
+
* Optional fields that are not set will be set to undefined.
|
|
33176
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
33177
|
+
* For the list of reserved names please see:
|
|
33178
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
33179
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
33180
|
+
* JSPB instance for transitional soy proto support:
|
|
33181
|
+
* http://goto/soy-param-migration
|
|
33182
|
+
* @return {!Object}
|
|
33183
|
+
*/
|
|
33184
|
+
proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.StartAtValueInfo.prototype.toObject = function(opt_includeInstance) {
|
|
33185
|
+
return proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.StartAtValueInfo.toObject(opt_includeInstance, this);
|
|
33186
|
+
};
|
|
33187
|
+
|
|
33188
|
+
|
|
33189
|
+
/**
|
|
33190
|
+
* Static version of the {@see toObject} method.
|
|
33191
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
33192
|
+
* the JSPB instance for transitional soy proto support:
|
|
33193
|
+
* http://goto/soy-param-migration
|
|
33194
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.StartAtValueInfo} msg The msg instance to transform.
|
|
33195
|
+
* @return {!Object}
|
|
33196
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
33197
|
+
*/
|
|
33198
|
+
proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.StartAtValueInfo.toObject = function(includeInstance, msg) {
|
|
33199
|
+
var f, obj = {
|
|
33200
|
+
startValue: msg.getStartValue_asB64(),
|
|
33201
|
+
startValueIncluded: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
33202
|
+
};
|
|
33203
|
+
|
|
33204
|
+
if (includeInstance) {
|
|
33205
|
+
obj.$jspbMessageInstance = msg;
|
|
33206
|
+
}
|
|
33207
|
+
return obj;
|
|
33208
|
+
};
|
|
33209
|
+
}
|
|
33210
|
+
|
|
33211
|
+
|
|
33212
|
+
/**
|
|
33213
|
+
* Deserializes binary data (in protobuf wire format).
|
|
33214
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
33215
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.StartAtValueInfo}
|
|
33216
|
+
*/
|
|
33217
|
+
proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.StartAtValueInfo.deserializeBinary = function(bytes) {
|
|
33218
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
33219
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.StartAtValueInfo;
|
|
33220
|
+
return proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.StartAtValueInfo.deserializeBinaryFromReader(msg, reader);
|
|
33221
|
+
};
|
|
33222
|
+
|
|
33223
|
+
|
|
33224
|
+
/**
|
|
33225
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
33226
|
+
* given reader into the given message object.
|
|
33227
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.StartAtValueInfo} msg The message object to deserialize into.
|
|
33228
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
33229
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.StartAtValueInfo}
|
|
33230
|
+
*/
|
|
33231
|
+
proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.StartAtValueInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
33232
|
+
while (reader.nextField()) {
|
|
33233
|
+
if (reader.isEndGroup()) {
|
|
33234
|
+
break;
|
|
33235
|
+
}
|
|
33236
|
+
var field = reader.getFieldNumber();
|
|
33237
|
+
switch (field) {
|
|
33238
|
+
case 1:
|
|
33239
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
33240
|
+
msg.setStartValue(value);
|
|
33241
|
+
break;
|
|
33242
|
+
case 2:
|
|
33243
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
33244
|
+
msg.setStartValueIncluded(value);
|
|
33245
|
+
break;
|
|
33246
|
+
default:
|
|
33247
|
+
reader.skipField();
|
|
33248
|
+
break;
|
|
33249
|
+
}
|
|
33250
|
+
}
|
|
33251
|
+
return msg;
|
|
33252
|
+
};
|
|
33253
|
+
|
|
33254
|
+
|
|
33255
|
+
/**
|
|
33256
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
33257
|
+
* @return {!Uint8Array}
|
|
33258
|
+
*/
|
|
33259
|
+
proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.StartAtValueInfo.prototype.serializeBinary = function() {
|
|
33260
|
+
var writer = new jspb.BinaryWriter();
|
|
33261
|
+
proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.StartAtValueInfo.serializeBinaryToWriter(this, writer);
|
|
33262
|
+
return writer.getResultBuffer();
|
|
33263
|
+
};
|
|
33264
|
+
|
|
33265
|
+
|
|
33266
|
+
/**
|
|
33267
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
33268
|
+
* format), writing to the given BinaryWriter.
|
|
33269
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.StartAtValueInfo} message
|
|
33270
|
+
* @param {!jspb.BinaryWriter} writer
|
|
33271
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
33272
|
+
*/
|
|
33273
|
+
proto.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.StartAtValueInfo.serializeBinaryToWriter = function(message, writer) {
|
|
33274
|
+
var f = undefined;
|
|
33275
|
+
f = message.getStartValue_asU8();
|
|
33276
|
+
if (f.length > 0) {
|
|
33277
|
+
writer.writeBytes(
|
|
33278
|
+
1,
|
|
33279
|
+
f
|
|
33280
|
+
);
|
|
33281
|
+
}
|
|
33282
|
+
f = message.getStartValueIncluded();
|
|
33283
|
+
if (f) {
|
|
33284
|
+
writer.writeBool(
|
|
33285
|
+
2,
|
|
33286
|
+
f
|
|
33287
|
+
);
|
|
31273
33288
|
}
|
|
31274
33289
|
};
|
|
31275
33290
|
|
|
@@ -53515,6 +55530,392 @@ proto.org.dash.platform.dapi.v0.GetTokenStatusesResponse.prototype.hasV0 = funct
|
|
|
53515
55530
|
|
|
53516
55531
|
|
|
53517
55532
|
|
|
55533
|
+
/**
|
|
55534
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
55535
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
55536
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
55537
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
55538
|
+
* @private {!Array<!Array<number>>}
|
|
55539
|
+
* @const
|
|
55540
|
+
*/
|
|
55541
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.oneofGroups_ = [[1]];
|
|
55542
|
+
|
|
55543
|
+
/**
|
|
55544
|
+
* @enum {number}
|
|
55545
|
+
*/
|
|
55546
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.VersionCase = {
|
|
55547
|
+
VERSION_NOT_SET: 0,
|
|
55548
|
+
V0: 1
|
|
55549
|
+
};
|
|
55550
|
+
|
|
55551
|
+
/**
|
|
55552
|
+
* @return {proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.VersionCase}
|
|
55553
|
+
*/
|
|
55554
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.prototype.getVersionCase = function() {
|
|
55555
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.oneofGroups_[0]));
|
|
55556
|
+
};
|
|
55557
|
+
|
|
55558
|
+
|
|
55559
|
+
|
|
55560
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
55561
|
+
/**
|
|
55562
|
+
* Creates an object representation of this proto.
|
|
55563
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
55564
|
+
* Optional fields that are not set will be set to undefined.
|
|
55565
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
55566
|
+
* For the list of reserved names please see:
|
|
55567
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
55568
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
55569
|
+
* JSPB instance for transitional soy proto support:
|
|
55570
|
+
* http://goto/soy-param-migration
|
|
55571
|
+
* @return {!Object}
|
|
55572
|
+
*/
|
|
55573
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
55574
|
+
return proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.toObject(opt_includeInstance, this);
|
|
55575
|
+
};
|
|
55576
|
+
|
|
55577
|
+
|
|
55578
|
+
/**
|
|
55579
|
+
* Static version of the {@see toObject} method.
|
|
55580
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
55581
|
+
* the JSPB instance for transitional soy proto support:
|
|
55582
|
+
* http://goto/soy-param-migration
|
|
55583
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest} msg The msg instance to transform.
|
|
55584
|
+
* @return {!Object}
|
|
55585
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
55586
|
+
*/
|
|
55587
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.toObject = function(includeInstance, msg) {
|
|
55588
|
+
var f, obj = {
|
|
55589
|
+
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0.toObject(includeInstance, f)
|
|
55590
|
+
};
|
|
55591
|
+
|
|
55592
|
+
if (includeInstance) {
|
|
55593
|
+
obj.$jspbMessageInstance = msg;
|
|
55594
|
+
}
|
|
55595
|
+
return obj;
|
|
55596
|
+
};
|
|
55597
|
+
}
|
|
55598
|
+
|
|
55599
|
+
|
|
55600
|
+
/**
|
|
55601
|
+
* Deserializes binary data (in protobuf wire format).
|
|
55602
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
55603
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest}
|
|
55604
|
+
*/
|
|
55605
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.deserializeBinary = function(bytes) {
|
|
55606
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
55607
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest;
|
|
55608
|
+
return proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.deserializeBinaryFromReader(msg, reader);
|
|
55609
|
+
};
|
|
55610
|
+
|
|
55611
|
+
|
|
55612
|
+
/**
|
|
55613
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
55614
|
+
* given reader into the given message object.
|
|
55615
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest} msg The message object to deserialize into.
|
|
55616
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
55617
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest}
|
|
55618
|
+
*/
|
|
55619
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
55620
|
+
while (reader.nextField()) {
|
|
55621
|
+
if (reader.isEndGroup()) {
|
|
55622
|
+
break;
|
|
55623
|
+
}
|
|
55624
|
+
var field = reader.getFieldNumber();
|
|
55625
|
+
switch (field) {
|
|
55626
|
+
case 1:
|
|
55627
|
+
var value = new proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0;
|
|
55628
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0.deserializeBinaryFromReader);
|
|
55629
|
+
msg.setV0(value);
|
|
55630
|
+
break;
|
|
55631
|
+
default:
|
|
55632
|
+
reader.skipField();
|
|
55633
|
+
break;
|
|
55634
|
+
}
|
|
55635
|
+
}
|
|
55636
|
+
return msg;
|
|
55637
|
+
};
|
|
55638
|
+
|
|
55639
|
+
|
|
55640
|
+
/**
|
|
55641
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
55642
|
+
* @return {!Uint8Array}
|
|
55643
|
+
*/
|
|
55644
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.prototype.serializeBinary = function() {
|
|
55645
|
+
var writer = new jspb.BinaryWriter();
|
|
55646
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.serializeBinaryToWriter(this, writer);
|
|
55647
|
+
return writer.getResultBuffer();
|
|
55648
|
+
};
|
|
55649
|
+
|
|
55650
|
+
|
|
55651
|
+
/**
|
|
55652
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
55653
|
+
* format), writing to the given BinaryWriter.
|
|
55654
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest} message
|
|
55655
|
+
* @param {!jspb.BinaryWriter} writer
|
|
55656
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
55657
|
+
*/
|
|
55658
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
55659
|
+
var f = undefined;
|
|
55660
|
+
f = message.getV0();
|
|
55661
|
+
if (f != null) {
|
|
55662
|
+
writer.writeMessage(
|
|
55663
|
+
1,
|
|
55664
|
+
f,
|
|
55665
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0.serializeBinaryToWriter
|
|
55666
|
+
);
|
|
55667
|
+
}
|
|
55668
|
+
};
|
|
55669
|
+
|
|
55670
|
+
|
|
55671
|
+
|
|
55672
|
+
/**
|
|
55673
|
+
* List of repeated fields within this message type.
|
|
55674
|
+
* @private {!Array<number>}
|
|
55675
|
+
* @const
|
|
55676
|
+
*/
|
|
55677
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0.repeatedFields_ = [1];
|
|
55678
|
+
|
|
55679
|
+
|
|
55680
|
+
|
|
55681
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
55682
|
+
/**
|
|
55683
|
+
* Creates an object representation of this proto.
|
|
55684
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
55685
|
+
* Optional fields that are not set will be set to undefined.
|
|
55686
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
55687
|
+
* For the list of reserved names please see:
|
|
55688
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
55689
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
55690
|
+
* JSPB instance for transitional soy proto support:
|
|
55691
|
+
* http://goto/soy-param-migration
|
|
55692
|
+
* @return {!Object}
|
|
55693
|
+
*/
|
|
55694
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0.prototype.toObject = function(opt_includeInstance) {
|
|
55695
|
+
return proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0.toObject(opt_includeInstance, this);
|
|
55696
|
+
};
|
|
55697
|
+
|
|
55698
|
+
|
|
55699
|
+
/**
|
|
55700
|
+
* Static version of the {@see toObject} method.
|
|
55701
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
55702
|
+
* the JSPB instance for transitional soy proto support:
|
|
55703
|
+
* http://goto/soy-param-migration
|
|
55704
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0} msg The msg instance to transform.
|
|
55705
|
+
* @return {!Object}
|
|
55706
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
55707
|
+
*/
|
|
55708
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0.toObject = function(includeInstance, msg) {
|
|
55709
|
+
var f, obj = {
|
|
55710
|
+
tokenIdsList: msg.getTokenIdsList_asB64(),
|
|
55711
|
+
prove: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
55712
|
+
};
|
|
55713
|
+
|
|
55714
|
+
if (includeInstance) {
|
|
55715
|
+
obj.$jspbMessageInstance = msg;
|
|
55716
|
+
}
|
|
55717
|
+
return obj;
|
|
55718
|
+
};
|
|
55719
|
+
}
|
|
55720
|
+
|
|
55721
|
+
|
|
55722
|
+
/**
|
|
55723
|
+
* Deserializes binary data (in protobuf wire format).
|
|
55724
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
55725
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0}
|
|
55726
|
+
*/
|
|
55727
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0.deserializeBinary = function(bytes) {
|
|
55728
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
55729
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0;
|
|
55730
|
+
return proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0.deserializeBinaryFromReader(msg, reader);
|
|
55731
|
+
};
|
|
55732
|
+
|
|
55733
|
+
|
|
55734
|
+
/**
|
|
55735
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
55736
|
+
* given reader into the given message object.
|
|
55737
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0} msg The message object to deserialize into.
|
|
55738
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
55739
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0}
|
|
55740
|
+
*/
|
|
55741
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0.deserializeBinaryFromReader = function(msg, reader) {
|
|
55742
|
+
while (reader.nextField()) {
|
|
55743
|
+
if (reader.isEndGroup()) {
|
|
55744
|
+
break;
|
|
55745
|
+
}
|
|
55746
|
+
var field = reader.getFieldNumber();
|
|
55747
|
+
switch (field) {
|
|
55748
|
+
case 1:
|
|
55749
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
55750
|
+
msg.addTokenIds(value);
|
|
55751
|
+
break;
|
|
55752
|
+
case 2:
|
|
55753
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
55754
|
+
msg.setProve(value);
|
|
55755
|
+
break;
|
|
55756
|
+
default:
|
|
55757
|
+
reader.skipField();
|
|
55758
|
+
break;
|
|
55759
|
+
}
|
|
55760
|
+
}
|
|
55761
|
+
return msg;
|
|
55762
|
+
};
|
|
55763
|
+
|
|
55764
|
+
|
|
55765
|
+
/**
|
|
55766
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
55767
|
+
* @return {!Uint8Array}
|
|
55768
|
+
*/
|
|
55769
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0.prototype.serializeBinary = function() {
|
|
55770
|
+
var writer = new jspb.BinaryWriter();
|
|
55771
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0.serializeBinaryToWriter(this, writer);
|
|
55772
|
+
return writer.getResultBuffer();
|
|
55773
|
+
};
|
|
55774
|
+
|
|
55775
|
+
|
|
55776
|
+
/**
|
|
55777
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
55778
|
+
* format), writing to the given BinaryWriter.
|
|
55779
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0} message
|
|
55780
|
+
* @param {!jspb.BinaryWriter} writer
|
|
55781
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
55782
|
+
*/
|
|
55783
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0.serializeBinaryToWriter = function(message, writer) {
|
|
55784
|
+
var f = undefined;
|
|
55785
|
+
f = message.getTokenIdsList_asU8();
|
|
55786
|
+
if (f.length > 0) {
|
|
55787
|
+
writer.writeRepeatedBytes(
|
|
55788
|
+
1,
|
|
55789
|
+
f
|
|
55790
|
+
);
|
|
55791
|
+
}
|
|
55792
|
+
f = message.getProve();
|
|
55793
|
+
if (f) {
|
|
55794
|
+
writer.writeBool(
|
|
55795
|
+
2,
|
|
55796
|
+
f
|
|
55797
|
+
);
|
|
55798
|
+
}
|
|
55799
|
+
};
|
|
55800
|
+
|
|
55801
|
+
|
|
55802
|
+
/**
|
|
55803
|
+
* repeated bytes token_ids = 1;
|
|
55804
|
+
* @return {!Array<string>}
|
|
55805
|
+
*/
|
|
55806
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0.prototype.getTokenIdsList = function() {
|
|
55807
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
55808
|
+
};
|
|
55809
|
+
|
|
55810
|
+
|
|
55811
|
+
/**
|
|
55812
|
+
* repeated bytes token_ids = 1;
|
|
55813
|
+
* This is a type-conversion wrapper around `getTokenIdsList()`
|
|
55814
|
+
* @return {!Array<string>}
|
|
55815
|
+
*/
|
|
55816
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0.prototype.getTokenIdsList_asB64 = function() {
|
|
55817
|
+
return /** @type {!Array<string>} */ (jspb.Message.bytesListAsB64(
|
|
55818
|
+
this.getTokenIdsList()));
|
|
55819
|
+
};
|
|
55820
|
+
|
|
55821
|
+
|
|
55822
|
+
/**
|
|
55823
|
+
* repeated bytes token_ids = 1;
|
|
55824
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
55825
|
+
* @see http://caniuse.com/Uint8Array
|
|
55826
|
+
* This is a type-conversion wrapper around `getTokenIdsList()`
|
|
55827
|
+
* @return {!Array<!Uint8Array>}
|
|
55828
|
+
*/
|
|
55829
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0.prototype.getTokenIdsList_asU8 = function() {
|
|
55830
|
+
return /** @type {!Array<!Uint8Array>} */ (jspb.Message.bytesListAsU8(
|
|
55831
|
+
this.getTokenIdsList()));
|
|
55832
|
+
};
|
|
55833
|
+
|
|
55834
|
+
|
|
55835
|
+
/**
|
|
55836
|
+
* @param {!(Array<!Uint8Array>|Array<string>)} value
|
|
55837
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0} returns this
|
|
55838
|
+
*/
|
|
55839
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0.prototype.setTokenIdsList = function(value) {
|
|
55840
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
55841
|
+
};
|
|
55842
|
+
|
|
55843
|
+
|
|
55844
|
+
/**
|
|
55845
|
+
* @param {!(string|Uint8Array)} value
|
|
55846
|
+
* @param {number=} opt_index
|
|
55847
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0} returns this
|
|
55848
|
+
*/
|
|
55849
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0.prototype.addTokenIds = function(value, opt_index) {
|
|
55850
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
55851
|
+
};
|
|
55852
|
+
|
|
55853
|
+
|
|
55854
|
+
/**
|
|
55855
|
+
* Clears the list making it empty but non-null.
|
|
55856
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0} returns this
|
|
55857
|
+
*/
|
|
55858
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0.prototype.clearTokenIdsList = function() {
|
|
55859
|
+
return this.setTokenIdsList([]);
|
|
55860
|
+
};
|
|
55861
|
+
|
|
55862
|
+
|
|
55863
|
+
/**
|
|
55864
|
+
* optional bool prove = 2;
|
|
55865
|
+
* @return {boolean}
|
|
55866
|
+
*/
|
|
55867
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0.prototype.getProve = function() {
|
|
55868
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
55869
|
+
};
|
|
55870
|
+
|
|
55871
|
+
|
|
55872
|
+
/**
|
|
55873
|
+
* @param {boolean} value
|
|
55874
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0} returns this
|
|
55875
|
+
*/
|
|
55876
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0.prototype.setProve = function(value) {
|
|
55877
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
55878
|
+
};
|
|
55879
|
+
|
|
55880
|
+
|
|
55881
|
+
/**
|
|
55882
|
+
* optional GetTokenDirectPurchasePricesRequestV0 v0 = 1;
|
|
55883
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0}
|
|
55884
|
+
*/
|
|
55885
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.prototype.getV0 = function() {
|
|
55886
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0} */ (
|
|
55887
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0, 1));
|
|
55888
|
+
};
|
|
55889
|
+
|
|
55890
|
+
|
|
55891
|
+
/**
|
|
55892
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0|undefined} value
|
|
55893
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest} returns this
|
|
55894
|
+
*/
|
|
55895
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.prototype.setV0 = function(value) {
|
|
55896
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.oneofGroups_[0], value);
|
|
55897
|
+
};
|
|
55898
|
+
|
|
55899
|
+
|
|
55900
|
+
/**
|
|
55901
|
+
* Clears the message field making it undefined.
|
|
55902
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest} returns this
|
|
55903
|
+
*/
|
|
55904
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.prototype.clearV0 = function() {
|
|
55905
|
+
return this.setV0(undefined);
|
|
55906
|
+
};
|
|
55907
|
+
|
|
55908
|
+
|
|
55909
|
+
/**
|
|
55910
|
+
* Returns whether this field is set.
|
|
55911
|
+
* @return {boolean}
|
|
55912
|
+
*/
|
|
55913
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.prototype.hasV0 = function() {
|
|
55914
|
+
return jspb.Message.getField(this, 1) != null;
|
|
55915
|
+
};
|
|
55916
|
+
|
|
55917
|
+
|
|
55918
|
+
|
|
53518
55919
|
/**
|
|
53519
55920
|
* Oneof group definitions for this message. Each group defines the field
|
|
53520
55921
|
* numbers belonging to that group. When of these fields' value is set, all
|
|
@@ -54529,119 +56930,553 @@ proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDir
|
|
|
54529
56930
|
* @param {!jspb.BinaryWriter} writer
|
|
54530
56931
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
54531
56932
|
*/
|
|
54532
|
-
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePrices.serializeBinaryToWriter = function(message, writer) {
|
|
56933
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePrices.serializeBinaryToWriter = function(message, writer) {
|
|
56934
|
+
var f = undefined;
|
|
56935
|
+
f = message.getTokenDirectPurchasePriceList();
|
|
56936
|
+
if (f.length > 0) {
|
|
56937
|
+
writer.writeRepeatedMessage(
|
|
56938
|
+
1,
|
|
56939
|
+
f,
|
|
56940
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePriceEntry.serializeBinaryToWriter
|
|
56941
|
+
);
|
|
56942
|
+
}
|
|
56943
|
+
};
|
|
56944
|
+
|
|
56945
|
+
|
|
56946
|
+
/**
|
|
56947
|
+
* repeated TokenDirectPurchasePriceEntry token_direct_purchase_price = 1;
|
|
56948
|
+
* @return {!Array<!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePriceEntry>}
|
|
56949
|
+
*/
|
|
56950
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePrices.prototype.getTokenDirectPurchasePriceList = function() {
|
|
56951
|
+
return /** @type{!Array<!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePriceEntry>} */ (
|
|
56952
|
+
jspb.Message.getRepeatedWrapperField(this, proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePriceEntry, 1));
|
|
56953
|
+
};
|
|
56954
|
+
|
|
56955
|
+
|
|
56956
|
+
/**
|
|
56957
|
+
* @param {!Array<!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePriceEntry>} value
|
|
56958
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePrices} returns this
|
|
56959
|
+
*/
|
|
56960
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePrices.prototype.setTokenDirectPurchasePriceList = function(value) {
|
|
56961
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
56962
|
+
};
|
|
56963
|
+
|
|
56964
|
+
|
|
56965
|
+
/**
|
|
56966
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePriceEntry=} opt_value
|
|
56967
|
+
* @param {number=} opt_index
|
|
56968
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePriceEntry}
|
|
56969
|
+
*/
|
|
56970
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePrices.prototype.addTokenDirectPurchasePrice = function(opt_value, opt_index) {
|
|
56971
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePriceEntry, opt_index);
|
|
56972
|
+
};
|
|
56973
|
+
|
|
56974
|
+
|
|
56975
|
+
/**
|
|
56976
|
+
* Clears the list making it empty but non-null.
|
|
56977
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePrices} returns this
|
|
56978
|
+
*/
|
|
56979
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePrices.prototype.clearTokenDirectPurchasePriceList = function() {
|
|
56980
|
+
return this.setTokenDirectPurchasePriceList([]);
|
|
56981
|
+
};
|
|
56982
|
+
|
|
56983
|
+
|
|
56984
|
+
/**
|
|
56985
|
+
* optional TokenDirectPurchasePrices token_direct_purchase_prices = 1;
|
|
56986
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePrices}
|
|
56987
|
+
*/
|
|
56988
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.prototype.getTokenDirectPurchasePrices = function() {
|
|
56989
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePrices} */ (
|
|
56990
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePrices, 1));
|
|
56991
|
+
};
|
|
56992
|
+
|
|
56993
|
+
|
|
56994
|
+
/**
|
|
56995
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePrices|undefined} value
|
|
56996
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0} returns this
|
|
56997
|
+
*/
|
|
56998
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.prototype.setTokenDirectPurchasePrices = function(value) {
|
|
56999
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.oneofGroups_[0], value);
|
|
57000
|
+
};
|
|
57001
|
+
|
|
57002
|
+
|
|
57003
|
+
/**
|
|
57004
|
+
* Clears the message field making it undefined.
|
|
57005
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0} returns this
|
|
57006
|
+
*/
|
|
57007
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.prototype.clearTokenDirectPurchasePrices = function() {
|
|
57008
|
+
return this.setTokenDirectPurchasePrices(undefined);
|
|
57009
|
+
};
|
|
57010
|
+
|
|
57011
|
+
|
|
57012
|
+
/**
|
|
57013
|
+
* Returns whether this field is set.
|
|
57014
|
+
* @return {boolean}
|
|
57015
|
+
*/
|
|
57016
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.prototype.hasTokenDirectPurchasePrices = function() {
|
|
57017
|
+
return jspb.Message.getField(this, 1) != null;
|
|
57018
|
+
};
|
|
57019
|
+
|
|
57020
|
+
|
|
57021
|
+
/**
|
|
57022
|
+
* optional Proof proof = 2;
|
|
57023
|
+
* @return {?proto.org.dash.platform.dapi.v0.Proof}
|
|
57024
|
+
*/
|
|
57025
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.prototype.getProof = function() {
|
|
57026
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ (
|
|
57027
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
|
|
57028
|
+
};
|
|
57029
|
+
|
|
57030
|
+
|
|
57031
|
+
/**
|
|
57032
|
+
* @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value
|
|
57033
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0} returns this
|
|
57034
|
+
*/
|
|
57035
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.prototype.setProof = function(value) {
|
|
57036
|
+
return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.oneofGroups_[0], value);
|
|
57037
|
+
};
|
|
57038
|
+
|
|
57039
|
+
|
|
57040
|
+
/**
|
|
57041
|
+
* Clears the message field making it undefined.
|
|
57042
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0} returns this
|
|
57043
|
+
*/
|
|
57044
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.prototype.clearProof = function() {
|
|
57045
|
+
return this.setProof(undefined);
|
|
57046
|
+
};
|
|
57047
|
+
|
|
57048
|
+
|
|
57049
|
+
/**
|
|
57050
|
+
* Returns whether this field is set.
|
|
57051
|
+
* @return {boolean}
|
|
57052
|
+
*/
|
|
57053
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.prototype.hasProof = function() {
|
|
57054
|
+
return jspb.Message.getField(this, 2) != null;
|
|
57055
|
+
};
|
|
57056
|
+
|
|
57057
|
+
|
|
57058
|
+
/**
|
|
57059
|
+
* optional ResponseMetadata metadata = 3;
|
|
57060
|
+
* @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata}
|
|
57061
|
+
*/
|
|
57062
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.prototype.getMetadata = function() {
|
|
57063
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ (
|
|
57064
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3));
|
|
57065
|
+
};
|
|
57066
|
+
|
|
57067
|
+
|
|
57068
|
+
/**
|
|
57069
|
+
* @param {?proto.org.dash.platform.dapi.v0.ResponseMetadata|undefined} value
|
|
57070
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0} returns this
|
|
57071
|
+
*/
|
|
57072
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.prototype.setMetadata = function(value) {
|
|
57073
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
57074
|
+
};
|
|
57075
|
+
|
|
57076
|
+
|
|
57077
|
+
/**
|
|
57078
|
+
* Clears the message field making it undefined.
|
|
57079
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0} returns this
|
|
57080
|
+
*/
|
|
57081
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.prototype.clearMetadata = function() {
|
|
57082
|
+
return this.setMetadata(undefined);
|
|
57083
|
+
};
|
|
57084
|
+
|
|
57085
|
+
|
|
57086
|
+
/**
|
|
57087
|
+
* Returns whether this field is set.
|
|
57088
|
+
* @return {boolean}
|
|
57089
|
+
*/
|
|
57090
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.prototype.hasMetadata = function() {
|
|
57091
|
+
return jspb.Message.getField(this, 3) != null;
|
|
57092
|
+
};
|
|
57093
|
+
|
|
57094
|
+
|
|
57095
|
+
/**
|
|
57096
|
+
* optional GetTokenDirectPurchasePricesResponseV0 v0 = 1;
|
|
57097
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0}
|
|
57098
|
+
*/
|
|
57099
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.prototype.getV0 = function() {
|
|
57100
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0} */ (
|
|
57101
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0, 1));
|
|
57102
|
+
};
|
|
57103
|
+
|
|
57104
|
+
|
|
57105
|
+
/**
|
|
57106
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0|undefined} value
|
|
57107
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse} returns this
|
|
57108
|
+
*/
|
|
57109
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.prototype.setV0 = function(value) {
|
|
57110
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.oneofGroups_[0], value);
|
|
57111
|
+
};
|
|
57112
|
+
|
|
57113
|
+
|
|
57114
|
+
/**
|
|
57115
|
+
* Clears the message field making it undefined.
|
|
57116
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse} returns this
|
|
57117
|
+
*/
|
|
57118
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.prototype.clearV0 = function() {
|
|
57119
|
+
return this.setV0(undefined);
|
|
57120
|
+
};
|
|
57121
|
+
|
|
57122
|
+
|
|
57123
|
+
/**
|
|
57124
|
+
* Returns whether this field is set.
|
|
57125
|
+
* @return {boolean}
|
|
57126
|
+
*/
|
|
57127
|
+
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.prototype.hasV0 = function() {
|
|
57128
|
+
return jspb.Message.getField(this, 1) != null;
|
|
57129
|
+
};
|
|
57130
|
+
|
|
57131
|
+
|
|
57132
|
+
|
|
57133
|
+
/**
|
|
57134
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
57135
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
57136
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
57137
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
57138
|
+
* @private {!Array<!Array<number>>}
|
|
57139
|
+
* @const
|
|
57140
|
+
*/
|
|
57141
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.oneofGroups_ = [[1]];
|
|
57142
|
+
|
|
57143
|
+
/**
|
|
57144
|
+
* @enum {number}
|
|
57145
|
+
*/
|
|
57146
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.VersionCase = {
|
|
57147
|
+
VERSION_NOT_SET: 0,
|
|
57148
|
+
V0: 1
|
|
57149
|
+
};
|
|
57150
|
+
|
|
57151
|
+
/**
|
|
57152
|
+
* @return {proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.VersionCase}
|
|
57153
|
+
*/
|
|
57154
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.prototype.getVersionCase = function() {
|
|
57155
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.oneofGroups_[0]));
|
|
57156
|
+
};
|
|
57157
|
+
|
|
57158
|
+
|
|
57159
|
+
|
|
57160
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
57161
|
+
/**
|
|
57162
|
+
* Creates an object representation of this proto.
|
|
57163
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
57164
|
+
* Optional fields that are not set will be set to undefined.
|
|
57165
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
57166
|
+
* For the list of reserved names please see:
|
|
57167
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
57168
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
57169
|
+
* JSPB instance for transitional soy proto support:
|
|
57170
|
+
* http://goto/soy-param-migration
|
|
57171
|
+
* @return {!Object}
|
|
57172
|
+
*/
|
|
57173
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.prototype.toObject = function(opt_includeInstance) {
|
|
57174
|
+
return proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.toObject(opt_includeInstance, this);
|
|
57175
|
+
};
|
|
57176
|
+
|
|
57177
|
+
|
|
57178
|
+
/**
|
|
57179
|
+
* Static version of the {@see toObject} method.
|
|
57180
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
57181
|
+
* the JSPB instance for transitional soy proto support:
|
|
57182
|
+
* http://goto/soy-param-migration
|
|
57183
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest} msg The msg instance to transform.
|
|
57184
|
+
* @return {!Object}
|
|
57185
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
57186
|
+
*/
|
|
57187
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.toObject = function(includeInstance, msg) {
|
|
57188
|
+
var f, obj = {
|
|
57189
|
+
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0.toObject(includeInstance, f)
|
|
57190
|
+
};
|
|
57191
|
+
|
|
57192
|
+
if (includeInstance) {
|
|
57193
|
+
obj.$jspbMessageInstance = msg;
|
|
57194
|
+
}
|
|
57195
|
+
return obj;
|
|
57196
|
+
};
|
|
57197
|
+
}
|
|
57198
|
+
|
|
57199
|
+
|
|
57200
|
+
/**
|
|
57201
|
+
* Deserializes binary data (in protobuf wire format).
|
|
57202
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
57203
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest}
|
|
57204
|
+
*/
|
|
57205
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.deserializeBinary = function(bytes) {
|
|
57206
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
57207
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest;
|
|
57208
|
+
return proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.deserializeBinaryFromReader(msg, reader);
|
|
57209
|
+
};
|
|
57210
|
+
|
|
57211
|
+
|
|
57212
|
+
/**
|
|
57213
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
57214
|
+
* given reader into the given message object.
|
|
57215
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest} msg The message object to deserialize into.
|
|
57216
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
57217
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest}
|
|
57218
|
+
*/
|
|
57219
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
57220
|
+
while (reader.nextField()) {
|
|
57221
|
+
if (reader.isEndGroup()) {
|
|
57222
|
+
break;
|
|
57223
|
+
}
|
|
57224
|
+
var field = reader.getFieldNumber();
|
|
57225
|
+
switch (field) {
|
|
57226
|
+
case 1:
|
|
57227
|
+
var value = new proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0;
|
|
57228
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0.deserializeBinaryFromReader);
|
|
57229
|
+
msg.setV0(value);
|
|
57230
|
+
break;
|
|
57231
|
+
default:
|
|
57232
|
+
reader.skipField();
|
|
57233
|
+
break;
|
|
57234
|
+
}
|
|
57235
|
+
}
|
|
57236
|
+
return msg;
|
|
57237
|
+
};
|
|
57238
|
+
|
|
57239
|
+
|
|
57240
|
+
/**
|
|
57241
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
57242
|
+
* @return {!Uint8Array}
|
|
57243
|
+
*/
|
|
57244
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.prototype.serializeBinary = function() {
|
|
57245
|
+
var writer = new jspb.BinaryWriter();
|
|
57246
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.serializeBinaryToWriter(this, writer);
|
|
57247
|
+
return writer.getResultBuffer();
|
|
57248
|
+
};
|
|
57249
|
+
|
|
57250
|
+
|
|
57251
|
+
/**
|
|
57252
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
57253
|
+
* format), writing to the given BinaryWriter.
|
|
57254
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest} message
|
|
57255
|
+
* @param {!jspb.BinaryWriter} writer
|
|
57256
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
57257
|
+
*/
|
|
57258
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.serializeBinaryToWriter = function(message, writer) {
|
|
57259
|
+
var f = undefined;
|
|
57260
|
+
f = message.getV0();
|
|
57261
|
+
if (f != null) {
|
|
57262
|
+
writer.writeMessage(
|
|
57263
|
+
1,
|
|
57264
|
+
f,
|
|
57265
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0.serializeBinaryToWriter
|
|
57266
|
+
);
|
|
57267
|
+
}
|
|
57268
|
+
};
|
|
57269
|
+
|
|
57270
|
+
|
|
57271
|
+
|
|
57272
|
+
|
|
57273
|
+
|
|
57274
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
57275
|
+
/**
|
|
57276
|
+
* Creates an object representation of this proto.
|
|
57277
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
57278
|
+
* Optional fields that are not set will be set to undefined.
|
|
57279
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
57280
|
+
* For the list of reserved names please see:
|
|
57281
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
57282
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
57283
|
+
* JSPB instance for transitional soy proto support:
|
|
57284
|
+
* http://goto/soy-param-migration
|
|
57285
|
+
* @return {!Object}
|
|
57286
|
+
*/
|
|
57287
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0.prototype.toObject = function(opt_includeInstance) {
|
|
57288
|
+
return proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0.toObject(opt_includeInstance, this);
|
|
57289
|
+
};
|
|
57290
|
+
|
|
57291
|
+
|
|
57292
|
+
/**
|
|
57293
|
+
* Static version of the {@see toObject} method.
|
|
57294
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
57295
|
+
* the JSPB instance for transitional soy proto support:
|
|
57296
|
+
* http://goto/soy-param-migration
|
|
57297
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0} msg The msg instance to transform.
|
|
57298
|
+
* @return {!Object}
|
|
57299
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
57300
|
+
*/
|
|
57301
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0.toObject = function(includeInstance, msg) {
|
|
57302
|
+
var f, obj = {
|
|
57303
|
+
tokenId: msg.getTokenId_asB64(),
|
|
57304
|
+
prove: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
57305
|
+
};
|
|
57306
|
+
|
|
57307
|
+
if (includeInstance) {
|
|
57308
|
+
obj.$jspbMessageInstance = msg;
|
|
57309
|
+
}
|
|
57310
|
+
return obj;
|
|
57311
|
+
};
|
|
57312
|
+
}
|
|
57313
|
+
|
|
57314
|
+
|
|
57315
|
+
/**
|
|
57316
|
+
* Deserializes binary data (in protobuf wire format).
|
|
57317
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
57318
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0}
|
|
57319
|
+
*/
|
|
57320
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0.deserializeBinary = function(bytes) {
|
|
57321
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
57322
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0;
|
|
57323
|
+
return proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0.deserializeBinaryFromReader(msg, reader);
|
|
57324
|
+
};
|
|
57325
|
+
|
|
57326
|
+
|
|
57327
|
+
/**
|
|
57328
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
57329
|
+
* given reader into the given message object.
|
|
57330
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0} msg The message object to deserialize into.
|
|
57331
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
57332
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0}
|
|
57333
|
+
*/
|
|
57334
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0.deserializeBinaryFromReader = function(msg, reader) {
|
|
57335
|
+
while (reader.nextField()) {
|
|
57336
|
+
if (reader.isEndGroup()) {
|
|
57337
|
+
break;
|
|
57338
|
+
}
|
|
57339
|
+
var field = reader.getFieldNumber();
|
|
57340
|
+
switch (field) {
|
|
57341
|
+
case 1:
|
|
57342
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
57343
|
+
msg.setTokenId(value);
|
|
57344
|
+
break;
|
|
57345
|
+
case 2:
|
|
57346
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
57347
|
+
msg.setProve(value);
|
|
57348
|
+
break;
|
|
57349
|
+
default:
|
|
57350
|
+
reader.skipField();
|
|
57351
|
+
break;
|
|
57352
|
+
}
|
|
57353
|
+
}
|
|
57354
|
+
return msg;
|
|
57355
|
+
};
|
|
57356
|
+
|
|
57357
|
+
|
|
57358
|
+
/**
|
|
57359
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
57360
|
+
* @return {!Uint8Array}
|
|
57361
|
+
*/
|
|
57362
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0.prototype.serializeBinary = function() {
|
|
57363
|
+
var writer = new jspb.BinaryWriter();
|
|
57364
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0.serializeBinaryToWriter(this, writer);
|
|
57365
|
+
return writer.getResultBuffer();
|
|
57366
|
+
};
|
|
57367
|
+
|
|
57368
|
+
|
|
57369
|
+
/**
|
|
57370
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
57371
|
+
* format), writing to the given BinaryWriter.
|
|
57372
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0} message
|
|
57373
|
+
* @param {!jspb.BinaryWriter} writer
|
|
57374
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
57375
|
+
*/
|
|
57376
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0.serializeBinaryToWriter = function(message, writer) {
|
|
54533
57377
|
var f = undefined;
|
|
54534
|
-
f = message.
|
|
57378
|
+
f = message.getTokenId_asU8();
|
|
54535
57379
|
if (f.length > 0) {
|
|
54536
|
-
writer.
|
|
57380
|
+
writer.writeBytes(
|
|
54537
57381
|
1,
|
|
54538
|
-
f
|
|
54539
|
-
|
|
57382
|
+
f
|
|
57383
|
+
);
|
|
57384
|
+
}
|
|
57385
|
+
f = message.getProve();
|
|
57386
|
+
if (f) {
|
|
57387
|
+
writer.writeBool(
|
|
57388
|
+
2,
|
|
57389
|
+
f
|
|
54540
57390
|
);
|
|
54541
57391
|
}
|
|
54542
57392
|
};
|
|
54543
57393
|
|
|
54544
57394
|
|
|
54545
57395
|
/**
|
|
54546
|
-
*
|
|
54547
|
-
* @return {
|
|
57396
|
+
* optional bytes token_id = 1;
|
|
57397
|
+
* @return {string}
|
|
54548
57398
|
*/
|
|
54549
|
-
proto.org.dash.platform.dapi.v0.
|
|
54550
|
-
return /** @type{
|
|
54551
|
-
jspb.Message.getRepeatedWrapperField(this, proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePriceEntry, 1));
|
|
54552
|
-
};
|
|
54553
|
-
|
|
54554
|
-
|
|
54555
|
-
/**
|
|
54556
|
-
* @param {!Array<!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePriceEntry>} value
|
|
54557
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePrices} returns this
|
|
54558
|
-
*/
|
|
54559
|
-
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePrices.prototype.setTokenDirectPurchasePriceList = function(value) {
|
|
54560
|
-
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
57399
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0.prototype.getTokenId = function() {
|
|
57400
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
54561
57401
|
};
|
|
54562
57402
|
|
|
54563
57403
|
|
|
54564
57404
|
/**
|
|
54565
|
-
*
|
|
54566
|
-
*
|
|
54567
|
-
* @return {
|
|
57405
|
+
* optional bytes token_id = 1;
|
|
57406
|
+
* This is a type-conversion wrapper around `getTokenId()`
|
|
57407
|
+
* @return {string}
|
|
54568
57408
|
*/
|
|
54569
|
-
proto.org.dash.platform.dapi.v0.
|
|
54570
|
-
return jspb.Message.
|
|
57409
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0.prototype.getTokenId_asB64 = function() {
|
|
57410
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
57411
|
+
this.getTokenId()));
|
|
54571
57412
|
};
|
|
54572
57413
|
|
|
54573
57414
|
|
|
54574
57415
|
/**
|
|
54575
|
-
*
|
|
54576
|
-
*
|
|
57416
|
+
* optional bytes token_id = 1;
|
|
57417
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
57418
|
+
* @see http://caniuse.com/Uint8Array
|
|
57419
|
+
* This is a type-conversion wrapper around `getTokenId()`
|
|
57420
|
+
* @return {!Uint8Array}
|
|
54577
57421
|
*/
|
|
54578
|
-
proto.org.dash.platform.dapi.v0.
|
|
54579
|
-
return
|
|
57422
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0.prototype.getTokenId_asU8 = function() {
|
|
57423
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
57424
|
+
this.getTokenId()));
|
|
54580
57425
|
};
|
|
54581
57426
|
|
|
54582
57427
|
|
|
54583
57428
|
/**
|
|
54584
|
-
*
|
|
54585
|
-
* @return {
|
|
57429
|
+
* @param {!(string|Uint8Array)} value
|
|
57430
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0} returns this
|
|
54586
57431
|
*/
|
|
54587
|
-
proto.org.dash.platform.dapi.v0.
|
|
54588
|
-
return
|
|
54589
|
-
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePrices, 1));
|
|
54590
|
-
};
|
|
54591
|
-
|
|
54592
|
-
|
|
54593
|
-
/**
|
|
54594
|
-
* @param {?proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePrices|undefined} value
|
|
54595
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0} returns this
|
|
54596
|
-
*/
|
|
54597
|
-
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.prototype.setTokenDirectPurchasePrices = function(value) {
|
|
54598
|
-
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.oneofGroups_[0], value);
|
|
57432
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0.prototype.setTokenId = function(value) {
|
|
57433
|
+
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
54599
57434
|
};
|
|
54600
57435
|
|
|
54601
57436
|
|
|
54602
57437
|
/**
|
|
54603
|
-
*
|
|
54604
|
-
* @return {
|
|
57438
|
+
* optional bool prove = 2;
|
|
57439
|
+
* @return {boolean}
|
|
54605
57440
|
*/
|
|
54606
|
-
proto.org.dash.platform.dapi.v0.
|
|
54607
|
-
return
|
|
57441
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0.prototype.getProve = function() {
|
|
57442
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
54608
57443
|
};
|
|
54609
57444
|
|
|
54610
57445
|
|
|
54611
57446
|
/**
|
|
54612
|
-
*
|
|
54613
|
-
* @return {
|
|
57447
|
+
* @param {boolean} value
|
|
57448
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0} returns this
|
|
54614
57449
|
*/
|
|
54615
|
-
proto.org.dash.platform.dapi.v0.
|
|
54616
|
-
return jspb.Message.
|
|
57450
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0.prototype.setProve = function(value) {
|
|
57451
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
54617
57452
|
};
|
|
54618
57453
|
|
|
54619
57454
|
|
|
54620
57455
|
/**
|
|
54621
|
-
* optional
|
|
54622
|
-
* @return {?proto.org.dash.platform.dapi.v0.
|
|
57456
|
+
* optional GetTokenContractInfoRequestV0 v0 = 1;
|
|
57457
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0}
|
|
54623
57458
|
*/
|
|
54624
|
-
proto.org.dash.platform.dapi.v0.
|
|
54625
|
-
return /** @type{?proto.org.dash.platform.dapi.v0.
|
|
54626
|
-
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.
|
|
57459
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.prototype.getV0 = function() {
|
|
57460
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0} */ (
|
|
57461
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0, 1));
|
|
54627
57462
|
};
|
|
54628
57463
|
|
|
54629
57464
|
|
|
54630
57465
|
/**
|
|
54631
|
-
* @param {?proto.org.dash.platform.dapi.v0.
|
|
54632
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
57466
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0|undefined} value
|
|
57467
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest} returns this
|
|
54633
57468
|
*/
|
|
54634
|
-
proto.org.dash.platform.dapi.v0.
|
|
54635
|
-
return jspb.Message.setOneofWrapperField(this,
|
|
57469
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.prototype.setV0 = function(value) {
|
|
57470
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.oneofGroups_[0], value);
|
|
54636
57471
|
};
|
|
54637
57472
|
|
|
54638
57473
|
|
|
54639
57474
|
/**
|
|
54640
57475
|
* Clears the message field making it undefined.
|
|
54641
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
57476
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest} returns this
|
|
54642
57477
|
*/
|
|
54643
|
-
proto.org.dash.platform.dapi.v0.
|
|
54644
|
-
return this.
|
|
57478
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.prototype.clearV0 = function() {
|
|
57479
|
+
return this.setV0(undefined);
|
|
54645
57480
|
};
|
|
54646
57481
|
|
|
54647
57482
|
|
|
@@ -54649,82 +57484,147 @@ proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDir
|
|
|
54649
57484
|
* Returns whether this field is set.
|
|
54650
57485
|
* @return {boolean}
|
|
54651
57486
|
*/
|
|
54652
|
-
proto.org.dash.platform.dapi.v0.
|
|
54653
|
-
return jspb.Message.getField(this,
|
|
57487
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.prototype.hasV0 = function() {
|
|
57488
|
+
return jspb.Message.getField(this, 1) != null;
|
|
54654
57489
|
};
|
|
54655
57490
|
|
|
54656
57491
|
|
|
57492
|
+
|
|
54657
57493
|
/**
|
|
54658
|
-
*
|
|
54659
|
-
*
|
|
57494
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
57495
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
57496
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
57497
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
57498
|
+
* @private {!Array<!Array<number>>}
|
|
57499
|
+
* @const
|
|
54660
57500
|
*/
|
|
54661
|
-
proto.org.dash.platform.dapi.v0.
|
|
54662
|
-
return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ (
|
|
54663
|
-
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3));
|
|
54664
|
-
};
|
|
57501
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.oneofGroups_ = [[1]];
|
|
54665
57502
|
|
|
57503
|
+
/**
|
|
57504
|
+
* @enum {number}
|
|
57505
|
+
*/
|
|
57506
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.VersionCase = {
|
|
57507
|
+
VERSION_NOT_SET: 0,
|
|
57508
|
+
V0: 1
|
|
57509
|
+
};
|
|
54666
57510
|
|
|
54667
57511
|
/**
|
|
54668
|
-
* @
|
|
54669
|
-
|
|
54670
|
-
|
|
54671
|
-
proto.org.dash.platform.dapi.v0.
|
|
54672
|
-
return jspb.Message.setWrapperField(this, 3, value);
|
|
57512
|
+
* @return {proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.VersionCase}
|
|
57513
|
+
*/
|
|
57514
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.prototype.getVersionCase = function() {
|
|
57515
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.oneofGroups_[0]));
|
|
54673
57516
|
};
|
|
54674
57517
|
|
|
54675
57518
|
|
|
57519
|
+
|
|
57520
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
54676
57521
|
/**
|
|
54677
|
-
*
|
|
54678
|
-
*
|
|
57522
|
+
* Creates an object representation of this proto.
|
|
57523
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
57524
|
+
* Optional fields that are not set will be set to undefined.
|
|
57525
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
57526
|
+
* For the list of reserved names please see:
|
|
57527
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
57528
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
57529
|
+
* JSPB instance for transitional soy proto support:
|
|
57530
|
+
* http://goto/soy-param-migration
|
|
57531
|
+
* @return {!Object}
|
|
54679
57532
|
*/
|
|
54680
|
-
proto.org.dash.platform.dapi.v0.
|
|
54681
|
-
return
|
|
57533
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.prototype.toObject = function(opt_includeInstance) {
|
|
57534
|
+
return proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.toObject(opt_includeInstance, this);
|
|
54682
57535
|
};
|
|
54683
57536
|
|
|
54684
57537
|
|
|
54685
57538
|
/**
|
|
54686
|
-
*
|
|
54687
|
-
* @
|
|
57539
|
+
* Static version of the {@see toObject} method.
|
|
57540
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
57541
|
+
* the JSPB instance for transitional soy proto support:
|
|
57542
|
+
* http://goto/soy-param-migration
|
|
57543
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse} msg The msg instance to transform.
|
|
57544
|
+
* @return {!Object}
|
|
57545
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
54688
57546
|
*/
|
|
54689
|
-
proto.org.dash.platform.dapi.v0.
|
|
54690
|
-
|
|
57547
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.toObject = function(includeInstance, msg) {
|
|
57548
|
+
var f, obj = {
|
|
57549
|
+
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.toObject(includeInstance, f)
|
|
57550
|
+
};
|
|
57551
|
+
|
|
57552
|
+
if (includeInstance) {
|
|
57553
|
+
obj.$jspbMessageInstance = msg;
|
|
57554
|
+
}
|
|
57555
|
+
return obj;
|
|
54691
57556
|
};
|
|
57557
|
+
}
|
|
54692
57558
|
|
|
54693
57559
|
|
|
54694
57560
|
/**
|
|
54695
|
-
*
|
|
54696
|
-
* @
|
|
57561
|
+
* Deserializes binary data (in protobuf wire format).
|
|
57562
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
57563
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse}
|
|
54697
57564
|
*/
|
|
54698
|
-
proto.org.dash.platform.dapi.v0.
|
|
54699
|
-
|
|
54700
|
-
|
|
57565
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.deserializeBinary = function(bytes) {
|
|
57566
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
57567
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse;
|
|
57568
|
+
return proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.deserializeBinaryFromReader(msg, reader);
|
|
54701
57569
|
};
|
|
54702
57570
|
|
|
54703
57571
|
|
|
54704
57572
|
/**
|
|
54705
|
-
*
|
|
54706
|
-
*
|
|
54707
|
-
|
|
54708
|
-
|
|
54709
|
-
|
|
57573
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
57574
|
+
* given reader into the given message object.
|
|
57575
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse} msg The message object to deserialize into.
|
|
57576
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
57577
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse}
|
|
57578
|
+
*/
|
|
57579
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
57580
|
+
while (reader.nextField()) {
|
|
57581
|
+
if (reader.isEndGroup()) {
|
|
57582
|
+
break;
|
|
57583
|
+
}
|
|
57584
|
+
var field = reader.getFieldNumber();
|
|
57585
|
+
switch (field) {
|
|
57586
|
+
case 1:
|
|
57587
|
+
var value = new proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0;
|
|
57588
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.deserializeBinaryFromReader);
|
|
57589
|
+
msg.setV0(value);
|
|
57590
|
+
break;
|
|
57591
|
+
default:
|
|
57592
|
+
reader.skipField();
|
|
57593
|
+
break;
|
|
57594
|
+
}
|
|
57595
|
+
}
|
|
57596
|
+
return msg;
|
|
54710
57597
|
};
|
|
54711
57598
|
|
|
54712
57599
|
|
|
54713
57600
|
/**
|
|
54714
|
-
*
|
|
54715
|
-
* @return {!
|
|
57601
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
57602
|
+
* @return {!Uint8Array}
|
|
54716
57603
|
*/
|
|
54717
|
-
proto.org.dash.platform.dapi.v0.
|
|
54718
|
-
|
|
57604
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.prototype.serializeBinary = function() {
|
|
57605
|
+
var writer = new jspb.BinaryWriter();
|
|
57606
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.serializeBinaryToWriter(this, writer);
|
|
57607
|
+
return writer.getResultBuffer();
|
|
54719
57608
|
};
|
|
54720
57609
|
|
|
54721
57610
|
|
|
54722
57611
|
/**
|
|
54723
|
-
*
|
|
54724
|
-
*
|
|
57612
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
57613
|
+
* format), writing to the given BinaryWriter.
|
|
57614
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse} message
|
|
57615
|
+
* @param {!jspb.BinaryWriter} writer
|
|
57616
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
54725
57617
|
*/
|
|
54726
|
-
proto.org.dash.platform.dapi.v0.
|
|
54727
|
-
|
|
57618
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.serializeBinaryToWriter = function(message, writer) {
|
|
57619
|
+
var f = undefined;
|
|
57620
|
+
f = message.getV0();
|
|
57621
|
+
if (f != null) {
|
|
57622
|
+
writer.writeMessage(
|
|
57623
|
+
1,
|
|
57624
|
+
f,
|
|
57625
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.serializeBinaryToWriter
|
|
57626
|
+
);
|
|
57627
|
+
}
|
|
54728
57628
|
};
|
|
54729
57629
|
|
|
54730
57630
|
|
|
@@ -54737,21 +57637,22 @@ proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.prototype.h
|
|
|
54737
57637
|
* @private {!Array<!Array<number>>}
|
|
54738
57638
|
* @const
|
|
54739
57639
|
*/
|
|
54740
|
-
proto.org.dash.platform.dapi.v0.
|
|
57640
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.oneofGroups_ = [[1,2]];
|
|
54741
57641
|
|
|
54742
57642
|
/**
|
|
54743
57643
|
* @enum {number}
|
|
54744
57644
|
*/
|
|
54745
|
-
proto.org.dash.platform.dapi.v0.
|
|
54746
|
-
|
|
54747
|
-
|
|
57645
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.ResultCase = {
|
|
57646
|
+
RESULT_NOT_SET: 0,
|
|
57647
|
+
DATA: 1,
|
|
57648
|
+
PROOF: 2
|
|
54748
57649
|
};
|
|
54749
57650
|
|
|
54750
57651
|
/**
|
|
54751
|
-
* @return {proto.org.dash.platform.dapi.v0.
|
|
57652
|
+
* @return {proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.ResultCase}
|
|
54752
57653
|
*/
|
|
54753
|
-
proto.org.dash.platform.dapi.v0.
|
|
54754
|
-
return /** @type {proto.org.dash.platform.dapi.v0.
|
|
57654
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.prototype.getResultCase = function() {
|
|
57655
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.oneofGroups_[0]));
|
|
54755
57656
|
};
|
|
54756
57657
|
|
|
54757
57658
|
|
|
@@ -54769,8 +57670,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
54769
57670
|
* http://goto/soy-param-migration
|
|
54770
57671
|
* @return {!Object}
|
|
54771
57672
|
*/
|
|
54772
|
-
proto.org.dash.platform.dapi.v0.
|
|
54773
|
-
return proto.org.dash.platform.dapi.v0.
|
|
57673
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.prototype.toObject = function(opt_includeInstance) {
|
|
57674
|
+
return proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.toObject(opt_includeInstance, this);
|
|
54774
57675
|
};
|
|
54775
57676
|
|
|
54776
57677
|
|
|
@@ -54779,13 +57680,15 @@ proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.prototype.to
|
|
|
54779
57680
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
54780
57681
|
* the JSPB instance for transitional soy proto support:
|
|
54781
57682
|
* http://goto/soy-param-migration
|
|
54782
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
57683
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0} msg The msg instance to transform.
|
|
54783
57684
|
* @return {!Object}
|
|
54784
57685
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
54785
57686
|
*/
|
|
54786
|
-
proto.org.dash.platform.dapi.v0.
|
|
57687
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.toObject = function(includeInstance, msg) {
|
|
54787
57688
|
var f, obj = {
|
|
54788
|
-
|
|
57689
|
+
data: (f = msg.getData()) && proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData.toObject(includeInstance, f),
|
|
57690
|
+
proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
|
|
57691
|
+
metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
|
|
54789
57692
|
};
|
|
54790
57693
|
|
|
54791
57694
|
if (includeInstance) {
|
|
@@ -54799,23 +57702,23 @@ proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.toObject = f
|
|
|
54799
57702
|
/**
|
|
54800
57703
|
* Deserializes binary data (in protobuf wire format).
|
|
54801
57704
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
54802
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
57705
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0}
|
|
54803
57706
|
*/
|
|
54804
|
-
proto.org.dash.platform.dapi.v0.
|
|
57707
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.deserializeBinary = function(bytes) {
|
|
54805
57708
|
var reader = new jspb.BinaryReader(bytes);
|
|
54806
|
-
var msg = new proto.org.dash.platform.dapi.v0.
|
|
54807
|
-
return proto.org.dash.platform.dapi.v0.
|
|
57709
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0;
|
|
57710
|
+
return proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.deserializeBinaryFromReader(msg, reader);
|
|
54808
57711
|
};
|
|
54809
57712
|
|
|
54810
57713
|
|
|
54811
57714
|
/**
|
|
54812
57715
|
* Deserializes binary data (in protobuf wire format) from the
|
|
54813
57716
|
* given reader into the given message object.
|
|
54814
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
57717
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0} msg The message object to deserialize into.
|
|
54815
57718
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
54816
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
57719
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0}
|
|
54817
57720
|
*/
|
|
54818
|
-
proto.org.dash.platform.dapi.v0.
|
|
57721
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.deserializeBinaryFromReader = function(msg, reader) {
|
|
54819
57722
|
while (reader.nextField()) {
|
|
54820
57723
|
if (reader.isEndGroup()) {
|
|
54821
57724
|
break;
|
|
@@ -54823,9 +57726,19 @@ proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.deserializeB
|
|
|
54823
57726
|
var field = reader.getFieldNumber();
|
|
54824
57727
|
switch (field) {
|
|
54825
57728
|
case 1:
|
|
54826
|
-
var value = new proto.org.dash.platform.dapi.v0.
|
|
54827
|
-
reader.readMessage(value,proto.org.dash.platform.dapi.v0.
|
|
54828
|
-
msg.
|
|
57729
|
+
var value = new proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData;
|
|
57730
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData.deserializeBinaryFromReader);
|
|
57731
|
+
msg.setData(value);
|
|
57732
|
+
break;
|
|
57733
|
+
case 2:
|
|
57734
|
+
var value = new proto.org.dash.platform.dapi.v0.Proof;
|
|
57735
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
|
|
57736
|
+
msg.setProof(value);
|
|
57737
|
+
break;
|
|
57738
|
+
case 3:
|
|
57739
|
+
var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
|
|
57740
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
|
|
57741
|
+
msg.setMetadata(value);
|
|
54829
57742
|
break;
|
|
54830
57743
|
default:
|
|
54831
57744
|
reader.skipField();
|
|
@@ -54840,9 +57753,9 @@ proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.deserializeB
|
|
|
54840
57753
|
* Serializes the message to binary data (in protobuf wire format).
|
|
54841
57754
|
* @return {!Uint8Array}
|
|
54842
57755
|
*/
|
|
54843
|
-
proto.org.dash.platform.dapi.v0.
|
|
57756
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.prototype.serializeBinary = function() {
|
|
54844
57757
|
var writer = new jspb.BinaryWriter();
|
|
54845
|
-
proto.org.dash.platform.dapi.v0.
|
|
57758
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.serializeBinaryToWriter(this, writer);
|
|
54846
57759
|
return writer.getResultBuffer();
|
|
54847
57760
|
};
|
|
54848
57761
|
|
|
@@ -54850,31 +57763,40 @@ proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.prototype.se
|
|
|
54850
57763
|
/**
|
|
54851
57764
|
* Serializes the given message to binary data (in protobuf wire
|
|
54852
57765
|
* format), writing to the given BinaryWriter.
|
|
54853
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
57766
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0} message
|
|
54854
57767
|
* @param {!jspb.BinaryWriter} writer
|
|
54855
57768
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
54856
57769
|
*/
|
|
54857
|
-
proto.org.dash.platform.dapi.v0.
|
|
57770
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.serializeBinaryToWriter = function(message, writer) {
|
|
54858
57771
|
var f = undefined;
|
|
54859
|
-
f = message.
|
|
57772
|
+
f = message.getData();
|
|
54860
57773
|
if (f != null) {
|
|
54861
57774
|
writer.writeMessage(
|
|
54862
57775
|
1,
|
|
54863
57776
|
f,
|
|
54864
|
-
proto.org.dash.platform.dapi.v0.
|
|
57777
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData.serializeBinaryToWriter
|
|
57778
|
+
);
|
|
57779
|
+
}
|
|
57780
|
+
f = message.getProof();
|
|
57781
|
+
if (f != null) {
|
|
57782
|
+
writer.writeMessage(
|
|
57783
|
+
2,
|
|
57784
|
+
f,
|
|
57785
|
+
proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
|
|
57786
|
+
);
|
|
57787
|
+
}
|
|
57788
|
+
f = message.getMetadata();
|
|
57789
|
+
if (f != null) {
|
|
57790
|
+
writer.writeMessage(
|
|
57791
|
+
3,
|
|
57792
|
+
f,
|
|
57793
|
+
proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
|
|
54865
57794
|
);
|
|
54866
57795
|
}
|
|
54867
57796
|
};
|
|
54868
57797
|
|
|
54869
57798
|
|
|
54870
57799
|
|
|
54871
|
-
/**
|
|
54872
|
-
* List of repeated fields within this message type.
|
|
54873
|
-
* @private {!Array<number>}
|
|
54874
|
-
* @const
|
|
54875
|
-
*/
|
|
54876
|
-
proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0.repeatedFields_ = [1];
|
|
54877
|
-
|
|
54878
57800
|
|
|
54879
57801
|
|
|
54880
57802
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -54890,8 +57812,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
54890
57812
|
* http://goto/soy-param-migration
|
|
54891
57813
|
* @return {!Object}
|
|
54892
57814
|
*/
|
|
54893
|
-
proto.org.dash.platform.dapi.v0.
|
|
54894
|
-
return proto.org.dash.platform.dapi.v0.
|
|
57815
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData.prototype.toObject = function(opt_includeInstance) {
|
|
57816
|
+
return proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData.toObject(opt_includeInstance, this);
|
|
54895
57817
|
};
|
|
54896
57818
|
|
|
54897
57819
|
|
|
@@ -54900,14 +57822,14 @@ proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDire
|
|
|
54900
57822
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
54901
57823
|
* the JSPB instance for transitional soy proto support:
|
|
54902
57824
|
* http://goto/soy-param-migration
|
|
54903
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
57825
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData} msg The msg instance to transform.
|
|
54904
57826
|
* @return {!Object}
|
|
54905
57827
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
54906
57828
|
*/
|
|
54907
|
-
proto.org.dash.platform.dapi.v0.
|
|
57829
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData.toObject = function(includeInstance, msg) {
|
|
54908
57830
|
var f, obj = {
|
|
54909
|
-
|
|
54910
|
-
|
|
57831
|
+
contractId: msg.getContractId_asB64(),
|
|
57832
|
+
tokenContractPosition: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
54911
57833
|
};
|
|
54912
57834
|
|
|
54913
57835
|
if (includeInstance) {
|
|
@@ -54921,23 +57843,23 @@ proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDire
|
|
|
54921
57843
|
/**
|
|
54922
57844
|
* Deserializes binary data (in protobuf wire format).
|
|
54923
57845
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
54924
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
57846
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData}
|
|
54925
57847
|
*/
|
|
54926
|
-
proto.org.dash.platform.dapi.v0.
|
|
57848
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData.deserializeBinary = function(bytes) {
|
|
54927
57849
|
var reader = new jspb.BinaryReader(bytes);
|
|
54928
|
-
var msg = new proto.org.dash.platform.dapi.v0.
|
|
54929
|
-
return proto.org.dash.platform.dapi.v0.
|
|
57850
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData;
|
|
57851
|
+
return proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData.deserializeBinaryFromReader(msg, reader);
|
|
54930
57852
|
};
|
|
54931
57853
|
|
|
54932
57854
|
|
|
54933
57855
|
/**
|
|
54934
57856
|
* Deserializes binary data (in protobuf wire format) from the
|
|
54935
57857
|
* given reader into the given message object.
|
|
54936
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
57858
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData} msg The message object to deserialize into.
|
|
54937
57859
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
54938
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
57860
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData}
|
|
54939
57861
|
*/
|
|
54940
|
-
proto.org.dash.platform.dapi.v0.
|
|
57862
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData.deserializeBinaryFromReader = function(msg, reader) {
|
|
54941
57863
|
while (reader.nextField()) {
|
|
54942
57864
|
if (reader.isEndGroup()) {
|
|
54943
57865
|
break;
|
|
@@ -54946,11 +57868,11 @@ proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDire
|
|
|
54946
57868
|
switch (field) {
|
|
54947
57869
|
case 1:
|
|
54948
57870
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
54949
|
-
msg.
|
|
57871
|
+
msg.setContractId(value);
|
|
54950
57872
|
break;
|
|
54951
57873
|
case 2:
|
|
54952
|
-
var value = /** @type {
|
|
54953
|
-
msg.
|
|
57874
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
57875
|
+
msg.setTokenContractPosition(value);
|
|
54954
57876
|
break;
|
|
54955
57877
|
default:
|
|
54956
57878
|
reader.skipField();
|
|
@@ -54965,9 +57887,9 @@ proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDire
|
|
|
54965
57887
|
* Serializes the message to binary data (in protobuf wire format).
|
|
54966
57888
|
* @return {!Uint8Array}
|
|
54967
57889
|
*/
|
|
54968
|
-
proto.org.dash.platform.dapi.v0.
|
|
57890
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData.prototype.serializeBinary = function() {
|
|
54969
57891
|
var writer = new jspb.BinaryWriter();
|
|
54970
|
-
proto.org.dash.platform.dapi.v0.
|
|
57892
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData.serializeBinaryToWriter(this, writer);
|
|
54971
57893
|
return writer.getResultBuffer();
|
|
54972
57894
|
};
|
|
54973
57895
|
|
|
@@ -54975,22 +57897,22 @@ proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDire
|
|
|
54975
57897
|
/**
|
|
54976
57898
|
* Serializes the given message to binary data (in protobuf wire
|
|
54977
57899
|
* format), writing to the given BinaryWriter.
|
|
54978
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
57900
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData} message
|
|
54979
57901
|
* @param {!jspb.BinaryWriter} writer
|
|
54980
57902
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
54981
57903
|
*/
|
|
54982
|
-
proto.org.dash.platform.dapi.v0.
|
|
57904
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData.serializeBinaryToWriter = function(message, writer) {
|
|
54983
57905
|
var f = undefined;
|
|
54984
|
-
f = message.
|
|
57906
|
+
f = message.getContractId_asU8();
|
|
54985
57907
|
if (f.length > 0) {
|
|
54986
|
-
writer.
|
|
57908
|
+
writer.writeBytes(
|
|
54987
57909
|
1,
|
|
54988
57910
|
f
|
|
54989
57911
|
);
|
|
54990
57912
|
}
|
|
54991
|
-
f = message.
|
|
54992
|
-
if (f) {
|
|
54993
|
-
writer.
|
|
57913
|
+
f = message.getTokenContractPosition();
|
|
57914
|
+
if (f !== 0) {
|
|
57915
|
+
writer.writeUint32(
|
|
54994
57916
|
2,
|
|
54995
57917
|
f
|
|
54996
57918
|
);
|
|
@@ -54999,108 +57921,200 @@ proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDire
|
|
|
54999
57921
|
|
|
55000
57922
|
|
|
55001
57923
|
/**
|
|
55002
|
-
*
|
|
55003
|
-
* @return {
|
|
57924
|
+
* optional bytes contract_id = 1;
|
|
57925
|
+
* @return {string}
|
|
55004
57926
|
*/
|
|
55005
|
-
proto.org.dash.platform.dapi.v0.
|
|
55006
|
-
return /** @type {
|
|
57927
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData.prototype.getContractId = function() {
|
|
57928
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
55007
57929
|
};
|
|
55008
57930
|
|
|
55009
57931
|
|
|
55010
57932
|
/**
|
|
55011
|
-
*
|
|
55012
|
-
* This is a type-conversion wrapper around `
|
|
55013
|
-
* @return {
|
|
57933
|
+
* optional bytes contract_id = 1;
|
|
57934
|
+
* This is a type-conversion wrapper around `getContractId()`
|
|
57935
|
+
* @return {string}
|
|
55014
57936
|
*/
|
|
55015
|
-
proto.org.dash.platform.dapi.v0.
|
|
55016
|
-
return /** @type {
|
|
55017
|
-
this.
|
|
57937
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData.prototype.getContractId_asB64 = function() {
|
|
57938
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
57939
|
+
this.getContractId()));
|
|
55018
57940
|
};
|
|
55019
57941
|
|
|
55020
57942
|
|
|
55021
57943
|
/**
|
|
55022
|
-
*
|
|
57944
|
+
* optional bytes contract_id = 1;
|
|
55023
57945
|
* Note that Uint8Array is not supported on all browsers.
|
|
55024
57946
|
* @see http://caniuse.com/Uint8Array
|
|
55025
|
-
* This is a type-conversion wrapper around `
|
|
55026
|
-
* @return {!
|
|
57947
|
+
* This is a type-conversion wrapper around `getContractId()`
|
|
57948
|
+
* @return {!Uint8Array}
|
|
55027
57949
|
*/
|
|
55028
|
-
proto.org.dash.platform.dapi.v0.
|
|
55029
|
-
return /** @type {!
|
|
55030
|
-
this.
|
|
57950
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData.prototype.getContractId_asU8 = function() {
|
|
57951
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
57952
|
+
this.getContractId()));
|
|
55031
57953
|
};
|
|
55032
57954
|
|
|
55033
57955
|
|
|
55034
57956
|
/**
|
|
55035
|
-
* @param {!(
|
|
55036
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
57957
|
+
* @param {!(string|Uint8Array)} value
|
|
57958
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData} returns this
|
|
55037
57959
|
*/
|
|
55038
|
-
proto.org.dash.platform.dapi.v0.
|
|
55039
|
-
return jspb.Message.
|
|
57960
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData.prototype.setContractId = function(value) {
|
|
57961
|
+
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
55040
57962
|
};
|
|
55041
57963
|
|
|
55042
57964
|
|
|
55043
57965
|
/**
|
|
55044
|
-
*
|
|
55045
|
-
* @
|
|
55046
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0} returns this
|
|
57966
|
+
* optional uint32 token_contract_position = 2;
|
|
57967
|
+
* @return {number}
|
|
55047
57968
|
*/
|
|
55048
|
-
proto.org.dash.platform.dapi.v0.
|
|
55049
|
-
return jspb.Message.
|
|
57969
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData.prototype.getTokenContractPosition = function() {
|
|
57970
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
55050
57971
|
};
|
|
55051
57972
|
|
|
55052
57973
|
|
|
55053
57974
|
/**
|
|
55054
|
-
*
|
|
55055
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
57975
|
+
* @param {number} value
|
|
57976
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData} returns this
|
|
55056
57977
|
*/
|
|
55057
|
-
proto.org.dash.platform.dapi.v0.
|
|
55058
|
-
return
|
|
57978
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData.prototype.setTokenContractPosition = function(value) {
|
|
57979
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
55059
57980
|
};
|
|
55060
57981
|
|
|
55061
57982
|
|
|
55062
57983
|
/**
|
|
55063
|
-
* optional
|
|
57984
|
+
* optional TokenContractInfoData data = 1;
|
|
57985
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData}
|
|
57986
|
+
*/
|
|
57987
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.prototype.getData = function() {
|
|
57988
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData} */ (
|
|
57989
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData, 1));
|
|
57990
|
+
};
|
|
57991
|
+
|
|
57992
|
+
|
|
57993
|
+
/**
|
|
57994
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData|undefined} value
|
|
57995
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0} returns this
|
|
57996
|
+
*/
|
|
57997
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.prototype.setData = function(value) {
|
|
57998
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.oneofGroups_[0], value);
|
|
57999
|
+
};
|
|
58000
|
+
|
|
58001
|
+
|
|
58002
|
+
/**
|
|
58003
|
+
* Clears the message field making it undefined.
|
|
58004
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0} returns this
|
|
58005
|
+
*/
|
|
58006
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.prototype.clearData = function() {
|
|
58007
|
+
return this.setData(undefined);
|
|
58008
|
+
};
|
|
58009
|
+
|
|
58010
|
+
|
|
58011
|
+
/**
|
|
58012
|
+
* Returns whether this field is set.
|
|
55064
58013
|
* @return {boolean}
|
|
55065
58014
|
*/
|
|
55066
|
-
proto.org.dash.platform.dapi.v0.
|
|
55067
|
-
return
|
|
58015
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.prototype.hasData = function() {
|
|
58016
|
+
return jspb.Message.getField(this, 1) != null;
|
|
55068
58017
|
};
|
|
55069
58018
|
|
|
55070
58019
|
|
|
55071
58020
|
/**
|
|
55072
|
-
*
|
|
55073
|
-
* @return {
|
|
58021
|
+
* optional Proof proof = 2;
|
|
58022
|
+
* @return {?proto.org.dash.platform.dapi.v0.Proof}
|
|
55074
58023
|
*/
|
|
55075
|
-
proto.org.dash.platform.dapi.v0.
|
|
55076
|
-
return
|
|
58024
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.prototype.getProof = function() {
|
|
58025
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ (
|
|
58026
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
|
|
55077
58027
|
};
|
|
55078
58028
|
|
|
55079
58029
|
|
|
55080
58030
|
/**
|
|
55081
|
-
*
|
|
55082
|
-
* @return {
|
|
58031
|
+
* @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value
|
|
58032
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0} returns this
|
|
58033
|
+
*/
|
|
58034
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.prototype.setProof = function(value) {
|
|
58035
|
+
return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.oneofGroups_[0], value);
|
|
58036
|
+
};
|
|
58037
|
+
|
|
58038
|
+
|
|
58039
|
+
/**
|
|
58040
|
+
* Clears the message field making it undefined.
|
|
58041
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0} returns this
|
|
55083
58042
|
*/
|
|
55084
|
-
proto.org.dash.platform.dapi.v0.
|
|
55085
|
-
return
|
|
55086
|
-
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0, 1));
|
|
58043
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.prototype.clearProof = function() {
|
|
58044
|
+
return this.setProof(undefined);
|
|
55087
58045
|
};
|
|
55088
58046
|
|
|
55089
58047
|
|
|
55090
58048
|
/**
|
|
55091
|
-
*
|
|
55092
|
-
* @return {
|
|
58049
|
+
* Returns whether this field is set.
|
|
58050
|
+
* @return {boolean}
|
|
58051
|
+
*/
|
|
58052
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.prototype.hasProof = function() {
|
|
58053
|
+
return jspb.Message.getField(this, 2) != null;
|
|
58054
|
+
};
|
|
58055
|
+
|
|
58056
|
+
|
|
58057
|
+
/**
|
|
58058
|
+
* optional ResponseMetadata metadata = 3;
|
|
58059
|
+
* @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata}
|
|
58060
|
+
*/
|
|
58061
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.prototype.getMetadata = function() {
|
|
58062
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ (
|
|
58063
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3));
|
|
58064
|
+
};
|
|
58065
|
+
|
|
58066
|
+
|
|
58067
|
+
/**
|
|
58068
|
+
* @param {?proto.org.dash.platform.dapi.v0.ResponseMetadata|undefined} value
|
|
58069
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0} returns this
|
|
55093
58070
|
*/
|
|
55094
|
-
proto.org.dash.platform.dapi.v0.
|
|
55095
|
-
return jspb.Message.
|
|
58071
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.prototype.setMetadata = function(value) {
|
|
58072
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
55096
58073
|
};
|
|
55097
58074
|
|
|
55098
58075
|
|
|
55099
58076
|
/**
|
|
55100
58077
|
* Clears the message field making it undefined.
|
|
55101
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
58078
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0} returns this
|
|
55102
58079
|
*/
|
|
55103
|
-
proto.org.dash.platform.dapi.v0.
|
|
58080
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.prototype.clearMetadata = function() {
|
|
58081
|
+
return this.setMetadata(undefined);
|
|
58082
|
+
};
|
|
58083
|
+
|
|
58084
|
+
|
|
58085
|
+
/**
|
|
58086
|
+
* Returns whether this field is set.
|
|
58087
|
+
* @return {boolean}
|
|
58088
|
+
*/
|
|
58089
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.prototype.hasMetadata = function() {
|
|
58090
|
+
return jspb.Message.getField(this, 3) != null;
|
|
58091
|
+
};
|
|
58092
|
+
|
|
58093
|
+
|
|
58094
|
+
/**
|
|
58095
|
+
* optional GetTokenContractInfoResponseV0 v0 = 1;
|
|
58096
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0}
|
|
58097
|
+
*/
|
|
58098
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.prototype.getV0 = function() {
|
|
58099
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0} */ (
|
|
58100
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0, 1));
|
|
58101
|
+
};
|
|
58102
|
+
|
|
58103
|
+
|
|
58104
|
+
/**
|
|
58105
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0|undefined} value
|
|
58106
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse} returns this
|
|
58107
|
+
*/
|
|
58108
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.prototype.setV0 = function(value) {
|
|
58109
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.oneofGroups_[0], value);
|
|
58110
|
+
};
|
|
58111
|
+
|
|
58112
|
+
|
|
58113
|
+
/**
|
|
58114
|
+
* Clears the message field making it undefined.
|
|
58115
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse} returns this
|
|
58116
|
+
*/
|
|
58117
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.prototype.clearV0 = function() {
|
|
55104
58118
|
return this.setV0(undefined);
|
|
55105
58119
|
};
|
|
55106
58120
|
|
|
@@ -55109,7 +58123,7 @@ proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.prototype.cl
|
|
|
55109
58123
|
* Returns whether this field is set.
|
|
55110
58124
|
* @return {boolean}
|
|
55111
58125
|
*/
|
|
55112
|
-
proto.org.dash.platform.dapi.v0.
|
|
58126
|
+
proto.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.prototype.hasV0 = function() {
|
|
55113
58127
|
return jspb.Message.getField(this, 1) != null;
|
|
55114
58128
|
};
|
|
55115
58129
|
|
|
@@ -63580,7 +66594,8 @@ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV
|
|
|
63580
66594
|
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.toObject = function(includeInstance, msg) {
|
|
63581
66595
|
var f, obj = {
|
|
63582
66596
|
amount: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
63583
|
-
|
|
66597
|
+
burnFromId: msg.getBurnFromId_asB64(),
|
|
66598
|
+
publicNote: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
63584
66599
|
};
|
|
63585
66600
|
|
|
63586
66601
|
if (includeInstance) {
|
|
@@ -63622,6 +66637,10 @@ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV
|
|
|
63622
66637
|
msg.setAmount(value);
|
|
63623
66638
|
break;
|
|
63624
66639
|
case 2:
|
|
66640
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
66641
|
+
msg.setBurnFromId(value);
|
|
66642
|
+
break;
|
|
66643
|
+
case 3:
|
|
63625
66644
|
var value = /** @type {string} */ (reader.readString());
|
|
63626
66645
|
msg.setPublicNote(value);
|
|
63627
66646
|
break;
|
|
@@ -63661,10 +66680,17 @@ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV
|
|
|
63661
66680
|
f
|
|
63662
66681
|
);
|
|
63663
66682
|
}
|
|
63664
|
-
f =
|
|
66683
|
+
f = message.getBurnFromId_asU8();
|
|
66684
|
+
if (f.length > 0) {
|
|
66685
|
+
writer.writeBytes(
|
|
66686
|
+
2,
|
|
66687
|
+
f
|
|
66688
|
+
);
|
|
66689
|
+
}
|
|
66690
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
63665
66691
|
if (f != null) {
|
|
63666
66692
|
writer.writeString(
|
|
63667
|
-
|
|
66693
|
+
3,
|
|
63668
66694
|
f
|
|
63669
66695
|
);
|
|
63670
66696
|
}
|
|
@@ -63690,20 +66716,62 @@ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV
|
|
|
63690
66716
|
|
|
63691
66717
|
|
|
63692
66718
|
/**
|
|
63693
|
-
* optional
|
|
66719
|
+
* optional bytes burn_from_id = 2;
|
|
63694
66720
|
* @return {string}
|
|
63695
66721
|
*/
|
|
63696
|
-
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.
|
|
66722
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.getBurnFromId = function() {
|
|
63697
66723
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
63698
66724
|
};
|
|
63699
66725
|
|
|
63700
66726
|
|
|
66727
|
+
/**
|
|
66728
|
+
* optional bytes burn_from_id = 2;
|
|
66729
|
+
* This is a type-conversion wrapper around `getBurnFromId()`
|
|
66730
|
+
* @return {string}
|
|
66731
|
+
*/
|
|
66732
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.getBurnFromId_asB64 = function() {
|
|
66733
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
66734
|
+
this.getBurnFromId()));
|
|
66735
|
+
};
|
|
66736
|
+
|
|
66737
|
+
|
|
66738
|
+
/**
|
|
66739
|
+
* optional bytes burn_from_id = 2;
|
|
66740
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
66741
|
+
* @see http://caniuse.com/Uint8Array
|
|
66742
|
+
* This is a type-conversion wrapper around `getBurnFromId()`
|
|
66743
|
+
* @return {!Uint8Array}
|
|
66744
|
+
*/
|
|
66745
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.getBurnFromId_asU8 = function() {
|
|
66746
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
66747
|
+
this.getBurnFromId()));
|
|
66748
|
+
};
|
|
66749
|
+
|
|
66750
|
+
|
|
66751
|
+
/**
|
|
66752
|
+
* @param {!(string|Uint8Array)} value
|
|
66753
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent} returns this
|
|
66754
|
+
*/
|
|
66755
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.setBurnFromId = function(value) {
|
|
66756
|
+
return jspb.Message.setProto3BytesField(this, 2, value);
|
|
66757
|
+
};
|
|
66758
|
+
|
|
66759
|
+
|
|
66760
|
+
/**
|
|
66761
|
+
* optional string public_note = 3;
|
|
66762
|
+
* @return {string}
|
|
66763
|
+
*/
|
|
66764
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.getPublicNote = function() {
|
|
66765
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
66766
|
+
};
|
|
66767
|
+
|
|
66768
|
+
|
|
63701
66769
|
/**
|
|
63702
66770
|
* @param {string} value
|
|
63703
66771
|
* @return {!proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent} returns this
|
|
63704
66772
|
*/
|
|
63705
66773
|
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.setPublicNote = function(value) {
|
|
63706
|
-
return jspb.Message.setField(this,
|
|
66774
|
+
return jspb.Message.setField(this, 3, value);
|
|
63707
66775
|
};
|
|
63708
66776
|
|
|
63709
66777
|
|
|
@@ -63712,7 +66780,7 @@ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV
|
|
|
63712
66780
|
* @return {!proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent} returns this
|
|
63713
66781
|
*/
|
|
63714
66782
|
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.clearPublicNote = function() {
|
|
63715
|
-
return jspb.Message.setField(this,
|
|
66783
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
63716
66784
|
};
|
|
63717
66785
|
|
|
63718
66786
|
|
|
@@ -63721,7 +66789,7 @@ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV
|
|
|
63721
66789
|
* @return {boolean}
|
|
63722
66790
|
*/
|
|
63723
66791
|
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.hasPublicNote = function() {
|
|
63724
|
-
return jspb.Message.getField(this,
|
|
66792
|
+
return jspb.Message.getField(this, 3) != null;
|
|
63725
66793
|
};
|
|
63726
66794
|
|
|
63727
66795
|
|