UNPKG

@kaiachain/kss-bridges-celer

Version:
1,449 lines (1,265 loc) 67.7 kB
// source: sgn/distribution/v1/tx.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 cosmos_base_v1beta1_coin_pb = require('../../../cosmos/base/v1beta1/coin_pb.js'); goog.object.extend(proto, cosmos_base_v1beta1_coin_pb); goog.exportSymbol('proto.sgn.distribution.v1.MsgClaimAllStakingReward', null, global); goog.exportSymbol('proto.sgn.distribution.v1.MsgClaimAllStakingRewardResponse', null, global); goog.exportSymbol('proto.sgn.distribution.v1.MsgFundCommunityPool', null, global); goog.exportSymbol('proto.sgn.distribution.v1.MsgFundCommunityPoolResponse', null, global); goog.exportSymbol('proto.sgn.distribution.v1.MsgSetWithdrawAddress', null, global); goog.exportSymbol('proto.sgn.distribution.v1.MsgSetWithdrawAddressResponse', null, global); goog.exportSymbol('proto.sgn.distribution.v1.MsgSignStakingReward', null, global); goog.exportSymbol('proto.sgn.distribution.v1.MsgSignStakingRewardResponse', null, global); goog.exportSymbol('proto.sgn.distribution.v1.MsgWithdrawDelegatorReward', null, global); goog.exportSymbol('proto.sgn.distribution.v1.MsgWithdrawDelegatorRewardResponse', null, global); goog.exportSymbol('proto.sgn.distribution.v1.MsgWithdrawValidatorCommission', null, global); goog.exportSymbol('proto.sgn.distribution.v1.MsgWithdrawValidatorCommissionResponse', 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.MsgSetWithdrawAddress = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.sgn.distribution.v1.MsgSetWithdrawAddress, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.MsgSetWithdrawAddress.displayName = 'proto.sgn.distribution.v1.MsgSetWithdrawAddress'; } /** * 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.MsgSetWithdrawAddressResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.sgn.distribution.v1.MsgSetWithdrawAddressResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.MsgSetWithdrawAddressResponse.displayName = 'proto.sgn.distribution.v1.MsgSetWithdrawAddressResponse'; } /** * 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.MsgWithdrawDelegatorReward = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.sgn.distribution.v1.MsgWithdrawDelegatorReward, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.MsgWithdrawDelegatorReward.displayName = 'proto.sgn.distribution.v1.MsgWithdrawDelegatorReward'; } /** * 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.MsgWithdrawDelegatorRewardResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.sgn.distribution.v1.MsgWithdrawDelegatorRewardResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.MsgWithdrawDelegatorRewardResponse.displayName = 'proto.sgn.distribution.v1.MsgWithdrawDelegatorRewardResponse'; } /** * 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.MsgWithdrawValidatorCommission = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.sgn.distribution.v1.MsgWithdrawValidatorCommission, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.MsgWithdrawValidatorCommission.displayName = 'proto.sgn.distribution.v1.MsgWithdrawValidatorCommission'; } /** * 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.MsgWithdrawValidatorCommissionResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.sgn.distribution.v1.MsgWithdrawValidatorCommissionResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.MsgWithdrawValidatorCommissionResponse.displayName = 'proto.sgn.distribution.v1.MsgWithdrawValidatorCommissionResponse'; } /** * 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.MsgFundCommunityPool = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.sgn.distribution.v1.MsgFundCommunityPool.repeatedFields_, null); }; goog.inherits(proto.sgn.distribution.v1.MsgFundCommunityPool, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.MsgFundCommunityPool.displayName = 'proto.sgn.distribution.v1.MsgFundCommunityPool'; } /** * 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.MsgFundCommunityPoolResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.sgn.distribution.v1.MsgFundCommunityPoolResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.MsgFundCommunityPoolResponse.displayName = 'proto.sgn.distribution.v1.MsgFundCommunityPoolResponse'; } /** * 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.MsgClaimAllStakingReward = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.sgn.distribution.v1.MsgClaimAllStakingReward, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.MsgClaimAllStakingReward.displayName = 'proto.sgn.distribution.v1.MsgClaimAllStakingReward'; } /** * 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.MsgClaimAllStakingRewardResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.sgn.distribution.v1.MsgClaimAllStakingRewardResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.MsgClaimAllStakingRewardResponse.displayName = 'proto.sgn.distribution.v1.MsgClaimAllStakingRewardResponse'; } /** * 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.MsgSignStakingReward = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.sgn.distribution.v1.MsgSignStakingReward, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.MsgSignStakingReward.displayName = 'proto.sgn.distribution.v1.MsgSignStakingReward'; } /** * 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.MsgSignStakingRewardResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.sgn.distribution.v1.MsgSignStakingRewardResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.sgn.distribution.v1.MsgSignStakingRewardResponse.displayName = 'proto.sgn.distribution.v1.MsgSignStakingRewardResponse'; } 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.MsgSetWithdrawAddress.prototype.toObject = function(opt_includeInstance) { return proto.sgn.distribution.v1.MsgSetWithdrawAddress.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.MsgSetWithdrawAddress} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.sgn.distribution.v1.MsgSetWithdrawAddress.toObject = function(includeInstance, msg) { var f, obj = { delegatorAddress: jspb.Message.getFieldWithDefault(msg, 1, ""), withdrawAddress: jspb.Message.getFieldWithDefault(msg, 2, ""), sender: jspb.Message.getFieldWithDefault(msg, 3, "") }; 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.MsgSetWithdrawAddress} */ proto.sgn.distribution.v1.MsgSetWithdrawAddress.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.sgn.distribution.v1.MsgSetWithdrawAddress; return proto.sgn.distribution.v1.MsgSetWithdrawAddress.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.sgn.distribution.v1.MsgSetWithdrawAddress} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.sgn.distribution.v1.MsgSetWithdrawAddress} */ proto.sgn.distribution.v1.MsgSetWithdrawAddress.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.setDelegatorAddress(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setWithdrawAddress(value); break; case 3: var value = /** @type {string} */ (reader.readString()); msg.setSender(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.sgn.distribution.v1.MsgSetWithdrawAddress.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.sgn.distribution.v1.MsgSetWithdrawAddress.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.MsgSetWithdrawAddress} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.sgn.distribution.v1.MsgSetWithdrawAddress.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getDelegatorAddress(); if (f.length > 0) { writer.writeString( 1, f ); } f = message.getWithdrawAddress(); if (f.length > 0) { writer.writeString( 2, f ); } f = message.getSender(); if (f.length > 0) { writer.writeString( 3, f ); } }; /** * optional string delegator_address = 1; * @return {string} */ proto.sgn.distribution.v1.MsgSetWithdrawAddress.prototype.getDelegatorAddress = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.sgn.distribution.v1.MsgSetWithdrawAddress} returns this */ proto.sgn.distribution.v1.MsgSetWithdrawAddress.prototype.setDelegatorAddress = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** * optional string withdraw_address = 2; * @return {string} */ proto.sgn.distribution.v1.MsgSetWithdrawAddress.prototype.getWithdrawAddress = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.sgn.distribution.v1.MsgSetWithdrawAddress} returns this */ proto.sgn.distribution.v1.MsgSetWithdrawAddress.prototype.setWithdrawAddress = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** * optional string sender = 3; * @return {string} */ proto.sgn.distribution.v1.MsgSetWithdrawAddress.prototype.getSender = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value * @return {!proto.sgn.distribution.v1.MsgSetWithdrawAddress} returns this */ proto.sgn.distribution.v1.MsgSetWithdrawAddress.prototype.setSender = function(value) { return jspb.Message.setProto3StringField(this, 3, 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.MsgSetWithdrawAddressResponse.prototype.toObject = function(opt_includeInstance) { return proto.sgn.distribution.v1.MsgSetWithdrawAddressResponse.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.MsgSetWithdrawAddressResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.sgn.distribution.v1.MsgSetWithdrawAddressResponse.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.MsgSetWithdrawAddressResponse} */ proto.sgn.distribution.v1.MsgSetWithdrawAddressResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.sgn.distribution.v1.MsgSetWithdrawAddressResponse; return proto.sgn.distribution.v1.MsgSetWithdrawAddressResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.sgn.distribution.v1.MsgSetWithdrawAddressResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.sgn.distribution.v1.MsgSetWithdrawAddressResponse} */ proto.sgn.distribution.v1.MsgSetWithdrawAddressResponse.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.MsgSetWithdrawAddressResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.sgn.distribution.v1.MsgSetWithdrawAddressResponse.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.MsgSetWithdrawAddressResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.sgn.distribution.v1.MsgSetWithdrawAddressResponse.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.MsgWithdrawDelegatorReward.prototype.toObject = function(opt_includeInstance) { return proto.sgn.distribution.v1.MsgWithdrawDelegatorReward.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.MsgWithdrawDelegatorReward} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.sgn.distribution.v1.MsgWithdrawDelegatorReward.toObject = function(includeInstance, msg) { var f, obj = { delegatorAddress: jspb.Message.getFieldWithDefault(msg, 1, ""), validatorAddress: jspb.Message.getFieldWithDefault(msg, 2, ""), sender: jspb.Message.getFieldWithDefault(msg, 3, "") }; 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.MsgWithdrawDelegatorReward} */ proto.sgn.distribution.v1.MsgWithdrawDelegatorReward.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.sgn.distribution.v1.MsgWithdrawDelegatorReward; return proto.sgn.distribution.v1.MsgWithdrawDelegatorReward.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.sgn.distribution.v1.MsgWithdrawDelegatorReward} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.sgn.distribution.v1.MsgWithdrawDelegatorReward} */ proto.sgn.distribution.v1.MsgWithdrawDelegatorReward.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.setDelegatorAddress(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setValidatorAddress(value); break; case 3: var value = /** @type {string} */ (reader.readString()); msg.setSender(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.sgn.distribution.v1.MsgWithdrawDelegatorReward.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.sgn.distribution.v1.MsgWithdrawDelegatorReward.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.MsgWithdrawDelegatorReward} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.sgn.distribution.v1.MsgWithdrawDelegatorReward.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getDelegatorAddress(); if (f.length > 0) { writer.writeString( 1, f ); } f = message.getValidatorAddress(); if (f.length > 0) { writer.writeString( 2, f ); } f = message.getSender(); if (f.length > 0) { writer.writeString( 3, f ); } }; /** * optional string delegator_address = 1; * @return {string} */ proto.sgn.distribution.v1.MsgWithdrawDelegatorReward.prototype.getDelegatorAddress = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.sgn.distribution.v1.MsgWithdrawDelegatorReward} returns this */ proto.sgn.distribution.v1.MsgWithdrawDelegatorReward.prototype.setDelegatorAddress = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** * optional string validator_address = 2; * @return {string} */ proto.sgn.distribution.v1.MsgWithdrawDelegatorReward.prototype.getValidatorAddress = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.sgn.distribution.v1.MsgWithdrawDelegatorReward} returns this */ proto.sgn.distribution.v1.MsgWithdrawDelegatorReward.prototype.setValidatorAddress = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** * optional string sender = 3; * @return {string} */ proto.sgn.distribution.v1.MsgWithdrawDelegatorReward.prototype.getSender = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value * @return {!proto.sgn.distribution.v1.MsgWithdrawDelegatorReward} returns this */ proto.sgn.distribution.v1.MsgWithdrawDelegatorReward.prototype.setSender = function(value) { return jspb.Message.setProto3StringField(this, 3, 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.MsgWithdrawDelegatorRewardResponse.prototype.toObject = function(opt_includeInstance) { return proto.sgn.distribution.v1.MsgWithdrawDelegatorRewardResponse.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.MsgWithdrawDelegatorRewardResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.sgn.distribution.v1.MsgWithdrawDelegatorRewardResponse.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.MsgWithdrawDelegatorRewardResponse} */ proto.sgn.distribution.v1.MsgWithdrawDelegatorRewardResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.sgn.distribution.v1.MsgWithdrawDelegatorRewardResponse; return proto.sgn.distribution.v1.MsgWithdrawDelegatorRewardResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.sgn.distribution.v1.MsgWithdrawDelegatorRewardResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.sgn.distribution.v1.MsgWithdrawDelegatorRewardResponse} */ proto.sgn.distribution.v1.MsgWithdrawDelegatorRewardResponse.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.MsgWithdrawDelegatorRewardResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.sgn.distribution.v1.MsgWithdrawDelegatorRewardResponse.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.MsgWithdrawDelegatorRewardResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.sgn.distribution.v1.MsgWithdrawDelegatorRewardResponse.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.MsgWithdrawValidatorCommission.prototype.toObject = function(opt_includeInstance) { return proto.sgn.distribution.v1.MsgWithdrawValidatorCommission.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.MsgWithdrawValidatorCommission} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.sgn.distribution.v1.MsgWithdrawValidatorCommission.toObject = function(includeInstance, msg) { var f, obj = { validatorAddress: jspb.Message.getFieldWithDefault(msg, 1, ""), sender: jspb.Message.getFieldWithDefault(msg, 3, "") }; 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.MsgWithdrawValidatorCommission} */ proto.sgn.distribution.v1.MsgWithdrawValidatorCommission.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.sgn.distribution.v1.MsgWithdrawValidatorCommission; return proto.sgn.distribution.v1.MsgWithdrawValidatorCommission.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.sgn.distribution.v1.MsgWithdrawValidatorCommission} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.sgn.distribution.v1.MsgWithdrawValidatorCommission} */ proto.sgn.distribution.v1.MsgWithdrawValidatorCommission.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; case 3: var value = /** @type {string} */ (reader.readString()); msg.setSender(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.sgn.distribution.v1.MsgWithdrawValidatorCommission.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.sgn.distribution.v1.MsgWithdrawValidatorCommission.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.MsgWithdrawValidatorCommission} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.sgn.distribution.v1.MsgWithdrawValidatorCommission.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getValidatorAddress(); if (f.length > 0) { writer.writeString( 1, f ); } f = message.getSender(); if (f.length > 0) { writer.writeString( 3, f ); } }; /** * optional string validator_address = 1; * @return {string} */ proto.sgn.distribution.v1.MsgWithdrawValidatorCommission.prototype.getValidatorAddress = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.sgn.distribution.v1.MsgWithdrawValidatorCommission} returns this */ proto.sgn.distribution.v1.MsgWithdrawValidatorCommission.prototype.setValidatorAddress = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** * optional string sender = 3; * @return {string} */ proto.sgn.distribution.v1.MsgWithdrawValidatorCommission.prototype.getSender = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value * @return {!proto.sgn.distribution.v1.MsgWithdrawValidatorCommission} returns this */ proto.sgn.distribution.v1.MsgWithdrawValidatorCommission.prototype.setSender = function(value) { return jspb.Message.setProto3StringField(this, 3, 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.MsgWithdrawValidatorCommissionResponse.prototype.toObject = function(opt_includeInstance) { return proto.sgn.distribution.v1.MsgWithdrawValidatorCommissionResponse.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.MsgWithdrawValidatorCommissionResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.sgn.distribution.v1.MsgWithdrawValidatorCommissionResponse.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.MsgWithdrawValidatorCommissionResponse} */ proto.sgn.distribution.v1.MsgWithdrawValidatorCommissionResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.sgn.distribution.v1.MsgWithdrawValidatorCommissionResponse; return proto.sgn.distribution.v1.MsgWithdrawValidatorCommissionResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.sgn.distribution.v1.MsgWithdrawValidatorCommissionResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.sgn.distribution.v1.MsgWithdrawValidatorCommissionResponse} */ proto.sgn.distribution.v1.MsgWithdrawValidatorCommissionResponse.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.MsgWithdrawValidatorCommissionResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.sgn.distribution.v1.MsgWithdrawValidatorCommissionResponse.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.MsgWithdrawValidatorCommissionResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.sgn.distribution.v1.MsgWithdrawValidatorCommissionResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; /** * List of repeated fields within this message type. * @private {!Array<number>} * @const */ proto.sgn.distribution.v1.MsgFundCommunityPool.repeatedFields_ = [1]; 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.MsgFundCommunityPool.prototype.toObject = function(opt_includeInstance) { return proto.sgn.distribution.v1.MsgFundCommunityPool.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.MsgFundCommunityPool} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.sgn.distribution.v1.MsgFundCommunityPool.toObject = function(includeInstance, msg) { var f, obj = { amountList: jspb.Message.toObjectList(msg.getAmountList(), cosmos_base_v1beta1_coin_pb.Coin.toObject, includeInstance), depositor: jspb.Message.getFieldWithDefault(msg, 2, "") }; 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.MsgFundCommunityPool} */ proto.sgn.distribution.v1.MsgFundCommunityPool.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.sgn.distribution.v1.MsgFundCommunityPool; return proto.sgn.distribution.v1.MsgFundCommunityPool.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.sgn.distribution.v1.MsgFundCommunityPool} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.sgn.distribution.v1.MsgFundCommunityPool} */ proto.sgn.distribution.v1.MsgFundCommunityPool.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new cosmos_base_v1beta1_coin_pb.Coin; reader.readMessage(value,cosmos_base_v1beta1_coin_pb.Coin.deserializeBinaryFromReader); msg.addAmount(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setDepositor(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.sgn.distribution.v1.MsgFundCommunityPool.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.sgn.distribution.v1.MsgFundCommunityPool.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.MsgFundCommunityPool} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.sgn.distribution.v1.MsgFundCommunityPool.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getAmountList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, cosmos_base_v1beta1_coin_pb.Coin.serializeBinaryToWriter ); } f = message.getDepositor(); if (f.length > 0) { writer.writeString( 2, f ); } }; /** * repeated cosmos.base.v1beta1.Coin amount = 1; * @return {!Array<!proto.cosmos.base.v1beta1.Coin>} */ proto.sgn.distribution.v1.MsgFundCommunityPool.prototype.getAmountList = function() { return /** @type{!Array<!proto.cosmos.base.v1beta1.Coin>} */ ( jspb.Message.getRepeatedWrapperField(this, cosmos_base_v1beta1_coin_pb.Coin, 1)); }; /** * @param {!Array<!proto.cosmos.base.v1beta1.Coin>} value * @return {!proto.sgn.distribution.v1.MsgFundCommunityPool} returns this */ proto.sgn.distribution.v1.MsgFundCommunityPool.prototype.setAmountList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** * @param {!proto.cosmos.base.v1beta1.Coin=} opt_value * @param {number=} opt_index * @return {!proto.cosmos.base.v1beta1.Coin} */ proto.sgn.distribution.v1.MsgFundCommunityPool.prototype.addAmount = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.cosmos.base.v1beta1.Coin, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.sgn.distribution.v1.MsgFundCommunityPool} returns this */ proto.sgn.distribution.v1.MsgFundCommunityPool.prototype.clearAmountList = function() { return this.setAmountList([]); }; /** * optional string depositor = 2; * @return {string} */ proto.sgn.distribution.v1.MsgFundCommunityPool.prototype.getDepositor = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.sgn.distribution.v1.MsgFundCommunityPool} returns this */ proto.sgn.distribution.v1.MsgFundCommunityPool.prototype.setDepositor = function(value) { return jspb.Message.setProto3StringField(this, 2, 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.MsgFundCommunityPoolResponse.prototype.toObject = function(opt_includeInstance) { return proto.sgn.distribution.v1.MsgFundCommunityPoolResponse.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.MsgFundCommunityPoolResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.sgn.distribution.v1.MsgFundCommunityPoolResponse.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.MsgFundCommunityPoolResponse} */ proto.sgn.distribution.v1.MsgFundCommunityPoolResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.sgn.distribution.v1.MsgFundCommunityPoolResponse; return proto.sgn.distribution.v1.MsgFundCommunityPoolResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.sgn.distribution.v1.MsgFundCommunityPoolResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.sgn.distribution.v1.MsgFundCommunityPoolResponse} */ proto.sgn.distribution.v1.MsgFundCommunityPoolResponse.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.MsgFundCommunityPoolResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.sgn.distribution.v1.MsgFundCommunityPoolResponse.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.MsgFundCommunityPoolResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.sgn.distribution.v1.MsgFundCommunityPoolResponse.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.MsgClaimAllStakingReward.prototype.toObject = function(opt_includeInstance) { return proto.sgn.distribution.v1.MsgClaimAllStakingReward.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. *