UNPKG

@kaiachain/kss-bridges-celer

Version:
1,299 lines (1,187 loc) 153 kB
// source: sgn/distribution/v1/query.proto /** * @fileoverview * @enhanceable * @suppress {missingRequire} reports error on implicit type usages. * @suppress {messageConventions} JS Compiler reports an error if a variable or * field starts with 'MSG_' and isn't a translatable message. * @public */ // GENERATED CODE -- DO NOT EDIT! /* eslint-disable */ // @ts-nocheck var jspb = require('google-protobuf'); var goog = jspb; var global = (function() { if (this) { return this; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } if (typeof self !== 'undefined') { return self; } return Function('return this')(); }.call(null)); var gogoproto_gogo_pb = require('../../../gogoproto/gogo_pb.js'); goog.object.extend(proto, gogoproto_gogo_pb); var google_api_annotations_pb = require('../../../google/api/annotations_pb.js'); goog.object.extend(proto, google_api_annotations_pb); var cosmos_base_query_v1beta1_pagination_pb = require('../../../cosmos/base/query/v1beta1/pagination_pb.js'); goog.object.extend(proto, cosmos_base_query_v1beta1_pagination_pb); var cosmos_base_v1beta1_coin_pb = require('../../../cosmos/base/v1beta1/coin_pb.js'); goog.object.extend(proto, cosmos_base_v1beta1_coin_pb); var sgn_distribution_v1_distribution_pb = require('../../../sgn/distribution/v1/distribution_pb.js'); goog.object.extend(proto, sgn_distribution_v1_distribution_pb); goog.exportSymbol('proto.sgn.distribution.v1.QueryCBridgeFeeShareInfoRequest', null, global); goog.exportSymbol('proto.sgn.distribution.v1.QueryCBridgeFeeShareInfoResponse', null, global); goog.exportSymbol('proto.sgn.distribution.v1.QueryCommunityPoolRequest', null, global); goog.exportSymbol('proto.sgn.distribution.v1.QueryCommunityPoolResponse', null, global); goog.exportSymbol('proto.sgn.distribution.v1.QueryDelegationRewardsRequest', null, global); goog.exportSymbol('proto.sgn.distribution.v1.QueryDelegationRewardsResponse', null, global); goog.exportSymbol('proto.sgn.distribution.v1.QueryDelegationTotalRewardsRequest', null, global); goog.exportSymbol('proto.sgn.distribution.v1.QueryDelegationTotalRewardsResponse', null, global); goog.exportSymbol('proto.sgn.distribution.v1.QueryDelegatorValidatorsRequest', null, global); goog.exportSymbol('proto.sgn.distribution.v1.QueryDelegatorValidatorsResponse', null, global); goog.exportSymbol('proto.sgn.distribution.v1.QueryDelegatorWithdrawAddressRequest', null, global); goog.exportSymbol('proto.sgn.distribution.v1.QueryDelegatorWithdrawAddressResponse', null, global); goog.exportSymbol('proto.sgn.distribution.v1.QueryMessageFeesInfoRequest', null, global); goog.exportSymbol('proto.sgn.distribution.v1.QueryMessageFeesInfoResponse', null, global); goog.exportSymbol('proto.sgn.distribution.v1.QueryParamsRequest', null, global); goog.exportSymbol('proto.sgn.distribution.v1.QueryParamsResponse', null, global); goog.exportSymbol('proto.sgn.distribution.v1.QueryPegBridgeFeesInfoRequest', null, global); goog.exportSymbol('proto.sgn.distribution.v1.QueryPegBridgeFeesInfoResponse', null, global); goog.exportSymbol('proto.sgn.distribution.v1.QueryStakingRewardClaimInfoRequest', null, global); goog.exportSymbol('proto.sgn.distribution.v1.QueryStakingRewardClaimInfoResponse', null, global); goog.exportSymbol('proto.sgn.distribution.v1.QueryStakingRewardInfoRequest', null, global); goog.exportSymbol('proto.sgn.distribution.v1.QueryStakingRewardInfoResponse', null, global); goog.exportSymbol('proto.sgn.distribution.v1.QueryValidatorCommissionRequest', null, global); goog.exportSymbol('proto.sgn.distribution.v1.QueryValidatorCommissionResponse', null, global); goog.exportSymbol('proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsRequest', null, global); goog.exportSymbol('proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsResponse', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.sgn.distribution.v1.QueryParamsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.sgn.distribution.v1.QueryParamsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.QueryParamsRequest.displayName = 'proto.sgn.distribution.v1.QueryParamsRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.sgn.distribution.v1.QueryParamsResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.sgn.distribution.v1.QueryParamsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.QueryParamsResponse.displayName = 'proto.sgn.distribution.v1.QueryParamsResponse'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsRequest.displayName = 'proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsResponse.displayName = 'proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsResponse'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.sgn.distribution.v1.QueryValidatorCommissionRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.sgn.distribution.v1.QueryValidatorCommissionRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.QueryValidatorCommissionRequest.displayName = 'proto.sgn.distribution.v1.QueryValidatorCommissionRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.sgn.distribution.v1.QueryValidatorCommissionResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.sgn.distribution.v1.QueryValidatorCommissionResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.QueryValidatorCommissionResponse.displayName = 'proto.sgn.distribution.v1.QueryValidatorCommissionResponse'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.sgn.distribution.v1.QueryDelegationRewardsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.sgn.distribution.v1.QueryDelegationRewardsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.QueryDelegationRewardsRequest.displayName = 'proto.sgn.distribution.v1.QueryDelegationRewardsRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.sgn.distribution.v1.QueryDelegationRewardsResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.sgn.distribution.v1.QueryDelegationRewardsResponse.repeatedFields_, null); }; goog.inherits(proto.sgn.distribution.v1.QueryDelegationRewardsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.QueryDelegationRewardsResponse.displayName = 'proto.sgn.distribution.v1.QueryDelegationRewardsResponse'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.sgn.distribution.v1.QueryDelegationTotalRewardsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.sgn.distribution.v1.QueryDelegationTotalRewardsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.QueryDelegationTotalRewardsRequest.displayName = 'proto.sgn.distribution.v1.QueryDelegationTotalRewardsRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.sgn.distribution.v1.QueryDelegationTotalRewardsResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.sgn.distribution.v1.QueryDelegationTotalRewardsResponse.repeatedFields_, null); }; goog.inherits(proto.sgn.distribution.v1.QueryDelegationTotalRewardsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.QueryDelegationTotalRewardsResponse.displayName = 'proto.sgn.distribution.v1.QueryDelegationTotalRewardsResponse'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.sgn.distribution.v1.QueryDelegatorValidatorsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.sgn.distribution.v1.QueryDelegatorValidatorsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.QueryDelegatorValidatorsRequest.displayName = 'proto.sgn.distribution.v1.QueryDelegatorValidatorsRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.sgn.distribution.v1.QueryDelegatorValidatorsResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.sgn.distribution.v1.QueryDelegatorValidatorsResponse.repeatedFields_, null); }; goog.inherits(proto.sgn.distribution.v1.QueryDelegatorValidatorsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.QueryDelegatorValidatorsResponse.displayName = 'proto.sgn.distribution.v1.QueryDelegatorValidatorsResponse'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.sgn.distribution.v1.QueryDelegatorWithdrawAddressRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.sgn.distribution.v1.QueryDelegatorWithdrawAddressRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.QueryDelegatorWithdrawAddressRequest.displayName = 'proto.sgn.distribution.v1.QueryDelegatorWithdrawAddressRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.sgn.distribution.v1.QueryDelegatorWithdrawAddressResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.sgn.distribution.v1.QueryDelegatorWithdrawAddressResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.QueryDelegatorWithdrawAddressResponse.displayName = 'proto.sgn.distribution.v1.QueryDelegatorWithdrawAddressResponse'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.sgn.distribution.v1.QueryCommunityPoolRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.sgn.distribution.v1.QueryCommunityPoolRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.QueryCommunityPoolRequest.displayName = 'proto.sgn.distribution.v1.QueryCommunityPoolRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.sgn.distribution.v1.QueryCommunityPoolResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.sgn.distribution.v1.QueryCommunityPoolResponse.repeatedFields_, null); }; goog.inherits(proto.sgn.distribution.v1.QueryCommunityPoolResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.QueryCommunityPoolResponse.displayName = 'proto.sgn.distribution.v1.QueryCommunityPoolResponse'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.sgn.distribution.v1.QueryStakingRewardInfoRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.sgn.distribution.v1.QueryStakingRewardInfoRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.QueryStakingRewardInfoRequest.displayName = 'proto.sgn.distribution.v1.QueryStakingRewardInfoRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.sgn.distribution.v1.QueryStakingRewardInfoResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.sgn.distribution.v1.QueryStakingRewardInfoResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.QueryStakingRewardInfoResponse.displayName = 'proto.sgn.distribution.v1.QueryStakingRewardInfoResponse'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.sgn.distribution.v1.QueryStakingRewardClaimInfoRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.sgn.distribution.v1.QueryStakingRewardClaimInfoRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.QueryStakingRewardClaimInfoRequest.displayName = 'proto.sgn.distribution.v1.QueryStakingRewardClaimInfoRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.sgn.distribution.v1.QueryStakingRewardClaimInfoResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.sgn.distribution.v1.QueryStakingRewardClaimInfoResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.QueryStakingRewardClaimInfoResponse.displayName = 'proto.sgn.distribution.v1.QueryStakingRewardClaimInfoResponse'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.sgn.distribution.v1.QueryCBridgeFeeShareInfoRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.sgn.distribution.v1.QueryCBridgeFeeShareInfoRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.QueryCBridgeFeeShareInfoRequest.displayName = 'proto.sgn.distribution.v1.QueryCBridgeFeeShareInfoRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.sgn.distribution.v1.QueryCBridgeFeeShareInfoResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.sgn.distribution.v1.QueryCBridgeFeeShareInfoResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.QueryCBridgeFeeShareInfoResponse.displayName = 'proto.sgn.distribution.v1.QueryCBridgeFeeShareInfoResponse'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.sgn.distribution.v1.QueryPegBridgeFeesInfoRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.sgn.distribution.v1.QueryPegBridgeFeesInfoRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.QueryPegBridgeFeesInfoRequest.displayName = 'proto.sgn.distribution.v1.QueryPegBridgeFeesInfoRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.sgn.distribution.v1.QueryPegBridgeFeesInfoResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.sgn.distribution.v1.QueryPegBridgeFeesInfoResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.QueryPegBridgeFeesInfoResponse.displayName = 'proto.sgn.distribution.v1.QueryPegBridgeFeesInfoResponse'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.sgn.distribution.v1.QueryMessageFeesInfoRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.sgn.distribution.v1.QueryMessageFeesInfoRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.QueryMessageFeesInfoRequest.displayName = 'proto.sgn.distribution.v1.QueryMessageFeesInfoRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.sgn.distribution.v1.QueryMessageFeesInfoResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.sgn.distribution.v1.QueryMessageFeesInfoResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.QueryMessageFeesInfoResponse.displayName = 'proto.sgn.distribution.v1.QueryMessageFeesInfoResponse'; } if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.sgn.distribution.v1.QueryParamsRequest.prototype.toObject = function(opt_includeInstance) { return proto.sgn.distribution.v1.QueryParamsRequest.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.sgn.distribution.v1.QueryParamsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.sgn.distribution.v1.QueryParamsRequest.toObject = function(includeInstance, msg) { var f, obj = { }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.sgn.distribution.v1.QueryParamsRequest} */ proto.sgn.distribution.v1.QueryParamsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.sgn.distribution.v1.QueryParamsRequest; return proto.sgn.distribution.v1.QueryParamsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.sgn.distribution.v1.QueryParamsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.sgn.distribution.v1.QueryParamsRequest} */ proto.sgn.distribution.v1.QueryParamsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.sgn.distribution.v1.QueryParamsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.sgn.distribution.v1.QueryParamsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.sgn.distribution.v1.QueryParamsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.sgn.distribution.v1.QueryParamsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.sgn.distribution.v1.QueryParamsResponse.prototype.toObject = function(opt_includeInstance) { return proto.sgn.distribution.v1.QueryParamsResponse.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.sgn.distribution.v1.QueryParamsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.sgn.distribution.v1.QueryParamsResponse.toObject = function(includeInstance, msg) { var f, obj = { params: (f = msg.getParams()) && sgn_distribution_v1_distribution_pb.Params.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.sgn.distribution.v1.QueryParamsResponse} */ proto.sgn.distribution.v1.QueryParamsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.sgn.distribution.v1.QueryParamsResponse; return proto.sgn.distribution.v1.QueryParamsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.sgn.distribution.v1.QueryParamsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.sgn.distribution.v1.QueryParamsResponse} */ proto.sgn.distribution.v1.QueryParamsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new sgn_distribution_v1_distribution_pb.Params; reader.readMessage(value,sgn_distribution_v1_distribution_pb.Params.deserializeBinaryFromReader); msg.setParams(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.sgn.distribution.v1.QueryParamsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.sgn.distribution.v1.QueryParamsResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.sgn.distribution.v1.QueryParamsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.sgn.distribution.v1.QueryParamsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getParams(); if (f != null) { writer.writeMessage( 1, f, sgn_distribution_v1_distribution_pb.Params.serializeBinaryToWriter ); } }; /** * optional Params params = 1; * @return {?proto.sgn.distribution.v1.Params} */ proto.sgn.distribution.v1.QueryParamsResponse.prototype.getParams = function() { return /** @type{?proto.sgn.distribution.v1.Params} */ ( jspb.Message.getWrapperField(this, sgn_distribution_v1_distribution_pb.Params, 1)); }; /** * @param {?proto.sgn.distribution.v1.Params|undefined} value * @return {!proto.sgn.distribution.v1.QueryParamsResponse} returns this */ proto.sgn.distribution.v1.QueryParamsResponse.prototype.setParams = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.sgn.distribution.v1.QueryParamsResponse} returns this */ proto.sgn.distribution.v1.QueryParamsResponse.prototype.clearParams = function() { return this.setParams(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.sgn.distribution.v1.QueryParamsResponse.prototype.hasParams = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsRequest.prototype.toObject = function(opt_includeInstance) { return proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsRequest.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsRequest.toObject = function(includeInstance, msg) { var f, obj = { validatorAddress: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsRequest} */ proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsRequest; return proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsRequest} */ proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); msg.setValidatorAddress(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getValidatorAddress(); if (f.length > 0) { writer.writeString( 1, f ); } }; /** * optional string validator_address = 1; * @return {string} */ proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsRequest.prototype.getValidatorAddress = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsRequest} returns this */ proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsRequest.prototype.setValidatorAddress = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsResponse.prototype.toObject = function(opt_includeInstance) { return proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsResponse.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsResponse.toObject = function(includeInstance, msg) { var f, obj = { rewards: (f = msg.getRewards()) && sgn_distribution_v1_distribution_pb.ValidatorOutstandingRewards.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsResponse} */ proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsResponse; return proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsResponse} */ proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new sgn_distribution_v1_distribution_pb.ValidatorOutstandingRewards; reader.readMessage(value,sgn_distribution_v1_distribution_pb.ValidatorOutstandingRewards.deserializeBinaryFromReader); msg.setRewards(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRewards(); if (f != null) { writer.writeMessage( 1, f, sgn_distribution_v1_distribution_pb.ValidatorOutstandingRewards.serializeBinaryToWriter ); } }; /** * optional ValidatorOutstandingRewards rewards = 1; * @return {?proto.sgn.distribution.v1.ValidatorOutstandingRewards} */ proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsResponse.prototype.getRewards = function() { return /** @type{?proto.sgn.distribution.v1.ValidatorOutstandingRewards} */ ( jspb.Message.getWrapperField(this, sgn_distribution_v1_distribution_pb.ValidatorOutstandingRewards, 1)); }; /** * @param {?proto.sgn.distribution.v1.ValidatorOutstandingRewards|undefined} value * @return {!proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsResponse} returns this */ proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsResponse.prototype.setRewards = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsResponse} returns this */ proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsResponse.prototype.clearRewards = function() { return this.setRewards(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.sgn.distribution.v1.QueryValidatorOutstandingRewardsResponse.prototype.hasRewards = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.sgn.distribution.v1.QueryValidatorCommissionRequest.prototype.toObject = function(opt_includeInstance) { return proto.sgn.distribution.v1.QueryValidatorCommissionRequest.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.sgn.distribution.v1.QueryValidatorCommissionRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.sgn.distribution.v1.QueryValidatorCommissionRequest.toObject = function(includeInstance, msg) { var f, obj = { validatorAddress: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.sgn.distribution.v1.QueryValidatorCommissionRequest} */ proto.sgn.distribution.v1.QueryValidatorCommissionRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.sgn.distribution.v1.QueryValidatorCommissionRequest; return proto.sgn.distribution.v1.QueryValidatorCommissionRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.sgn.distribution.v1.QueryValidatorCommissionRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.sgn.distribution.v1.QueryValidatorCommissionRequest} */ proto.sgn.distribution.v1.QueryValidatorCommissionRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); msg.setValidatorAddress(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.sgn.distribution.v1.QueryValidatorCommissionRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.sgn.distribution.v1.QueryValidatorCommissionRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.sgn.distribution.v1.QueryValidatorCommissionRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.sgn.distribution.v1.QueryValidatorCommissionRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getValidatorAddress(); if (f.length > 0) { writer.writeString( 1, f ); } }; /** * optional string validator_address = 1; * @return {string} */ proto.sgn.distribution.v1.QueryValidatorCommissionRequest.prototype.getValidatorAddress = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.sgn.distribution.v1.QueryValidatorCommissionRequest} returns this */ proto.sgn.distribution.v1.QueryValidatorCommissionRequest.prototype.setValidatorAddress = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.sgn.distribution.v1.QueryValidatorCommissionResponse.prototype.toObject = function(opt_includeInstance) { return proto.sgn.distribution.v1.QueryValidatorCommissionResponse.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.sgn.distribution.v1.QueryValidatorCommissionResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.sgn.distribution.v1.QueryValidatorCommissionResponse.toObject = function(includeInstance,