UNPKG

@provenanceio/wallet-utils

Version:

Typescript Utilities for Provenance Blockchain Wallet

1,553 lines (1,286 loc) 58.4 kB
"use strict"; // source: cosmos/quarantine/v1beta1/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 () { return this || window || global || self || Function('return this')(); }.call(null); 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 cosmos_msg_v1_msg_pb = require('../../../cosmos/msg/v1/msg_pb.js'); goog.object.extend(proto, cosmos_msg_v1_msg_pb); var cosmos_quarantine_v1beta1_quarantine_pb = require('../../../cosmos/quarantine/v1beta1/quarantine_pb.js'); goog.object.extend(proto, cosmos_quarantine_v1beta1_quarantine_pb); var cosmos_proto_cosmos_pb = require('../../../cosmos_proto/cosmos_pb.js'); goog.object.extend(proto, cosmos_proto_cosmos_pb); var gogoproto_gogo_pb = require('../../../gogoproto/gogo_pb.js'); goog.object.extend(proto, gogoproto_gogo_pb); goog.exportSymbol('proto.cosmos.quarantine.v1beta1.MsgAccept', null, global); goog.exportSymbol('proto.cosmos.quarantine.v1beta1.MsgAcceptResponse', null, global); goog.exportSymbol('proto.cosmos.quarantine.v1beta1.MsgDecline', null, global); goog.exportSymbol('proto.cosmos.quarantine.v1beta1.MsgDeclineResponse', null, global); goog.exportSymbol('proto.cosmos.quarantine.v1beta1.MsgOptIn', null, global); goog.exportSymbol('proto.cosmos.quarantine.v1beta1.MsgOptInResponse', null, global); goog.exportSymbol('proto.cosmos.quarantine.v1beta1.MsgOptOut', null, global); goog.exportSymbol('proto.cosmos.quarantine.v1beta1.MsgOptOutResponse', null, global); goog.exportSymbol('proto.cosmos.quarantine.v1beta1.MsgUpdateAutoResponses', null, global); goog.exportSymbol('proto.cosmos.quarantine.v1beta1.MsgUpdateAutoResponsesResponse', 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.cosmos.quarantine.v1beta1.MsgOptIn = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.cosmos.quarantine.v1beta1.MsgOptIn, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.cosmos.quarantine.v1beta1.MsgOptIn.displayName = 'proto.cosmos.quarantine.v1beta1.MsgOptIn'; } /** * 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.cosmos.quarantine.v1beta1.MsgOptInResponse = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.cosmos.quarantine.v1beta1.MsgOptInResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.cosmos.quarantine.v1beta1.MsgOptInResponse.displayName = 'proto.cosmos.quarantine.v1beta1.MsgOptInResponse'; } /** * 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.cosmos.quarantine.v1beta1.MsgOptOut = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.cosmos.quarantine.v1beta1.MsgOptOut, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.cosmos.quarantine.v1beta1.MsgOptOut.displayName = 'proto.cosmos.quarantine.v1beta1.MsgOptOut'; } /** * 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.cosmos.quarantine.v1beta1.MsgOptOutResponse = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.cosmos.quarantine.v1beta1.MsgOptOutResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.cosmos.quarantine.v1beta1.MsgOptOutResponse.displayName = 'proto.cosmos.quarantine.v1beta1.MsgOptOutResponse'; } /** * 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.cosmos.quarantine.v1beta1.MsgAccept = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.cosmos.quarantine.v1beta1.MsgAccept.repeatedFields_, null); }; goog.inherits(proto.cosmos.quarantine.v1beta1.MsgAccept, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.cosmos.quarantine.v1beta1.MsgAccept.displayName = 'proto.cosmos.quarantine.v1beta1.MsgAccept'; } /** * 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.cosmos.quarantine.v1beta1.MsgAcceptResponse = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.cosmos.quarantine.v1beta1.MsgAcceptResponse.repeatedFields_, null); }; goog.inherits(proto.cosmos.quarantine.v1beta1.MsgAcceptResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.cosmos.quarantine.v1beta1.MsgAcceptResponse.displayName = 'proto.cosmos.quarantine.v1beta1.MsgAcceptResponse'; } /** * 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.cosmos.quarantine.v1beta1.MsgDecline = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.cosmos.quarantine.v1beta1.MsgDecline.repeatedFields_, null); }; goog.inherits(proto.cosmos.quarantine.v1beta1.MsgDecline, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.cosmos.quarantine.v1beta1.MsgDecline.displayName = 'proto.cosmos.quarantine.v1beta1.MsgDecline'; } /** * 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.cosmos.quarantine.v1beta1.MsgDeclineResponse = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.cosmos.quarantine.v1beta1.MsgDeclineResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.cosmos.quarantine.v1beta1.MsgDeclineResponse.displayName = 'proto.cosmos.quarantine.v1beta1.MsgDeclineResponse'; } /** * 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.cosmos.quarantine.v1beta1.MsgUpdateAutoResponses = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.cosmos.quarantine.v1beta1.MsgUpdateAutoResponses.repeatedFields_, null); }; goog.inherits(proto.cosmos.quarantine.v1beta1.MsgUpdateAutoResponses, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.cosmos.quarantine.v1beta1.MsgUpdateAutoResponses.displayName = 'proto.cosmos.quarantine.v1beta1.MsgUpdateAutoResponses'; } /** * 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.cosmos.quarantine.v1beta1.MsgUpdateAutoResponsesResponse = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.cosmos.quarantine.v1beta1.MsgUpdateAutoResponsesResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.cosmos.quarantine.v1beta1.MsgUpdateAutoResponsesResponse.displayName = 'proto.cosmos.quarantine.v1beta1.MsgUpdateAutoResponsesResponse'; } 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.cosmos.quarantine.v1beta1.MsgOptIn.prototype.toObject = function (opt_includeInstance) { return proto.cosmos.quarantine.v1beta1.MsgOptIn.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.cosmos.quarantine.v1beta1.MsgOptIn} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cosmos.quarantine.v1beta1.MsgOptIn.toObject = function (includeInstance, msg) { var f, obj = { toAddress: 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.cosmos.quarantine.v1beta1.MsgOptIn} */ proto.cosmos.quarantine.v1beta1.MsgOptIn.deserializeBinary = function (bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.cosmos.quarantine.v1beta1.MsgOptIn(); return proto.cosmos.quarantine.v1beta1.MsgOptIn.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.cosmos.quarantine.v1beta1.MsgOptIn} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.cosmos.quarantine.v1beta1.MsgOptIn} */ proto.cosmos.quarantine.v1beta1.MsgOptIn.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.setToAddress(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.cosmos.quarantine.v1beta1.MsgOptIn.prototype.serializeBinary = function () { var writer = new jspb.BinaryWriter(); proto.cosmos.quarantine.v1beta1.MsgOptIn.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.cosmos.quarantine.v1beta1.MsgOptIn} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cosmos.quarantine.v1beta1.MsgOptIn.serializeBinaryToWriter = function (message, writer) { var f = undefined; f = message.getToAddress(); if (f.length > 0) { writer.writeString(1, f); } }; /** * optional string to_address = 1; * @return {string} */ proto.cosmos.quarantine.v1beta1.MsgOptIn.prototype.getToAddress = function () { return ( /** @type {string} */ jspb.Message.getFieldWithDefault(this, 1, "") ); }; /** * @param {string} value * @return {!proto.cosmos.quarantine.v1beta1.MsgOptIn} returns this */ proto.cosmos.quarantine.v1beta1.MsgOptIn.prototype.setToAddress = 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.cosmos.quarantine.v1beta1.MsgOptInResponse.prototype.toObject = function (opt_includeInstance) { return proto.cosmos.quarantine.v1beta1.MsgOptInResponse.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.cosmos.quarantine.v1beta1.MsgOptInResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cosmos.quarantine.v1beta1.MsgOptInResponse.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.cosmos.quarantine.v1beta1.MsgOptInResponse} */ proto.cosmos.quarantine.v1beta1.MsgOptInResponse.deserializeBinary = function (bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.cosmos.quarantine.v1beta1.MsgOptInResponse(); return proto.cosmos.quarantine.v1beta1.MsgOptInResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.cosmos.quarantine.v1beta1.MsgOptInResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.cosmos.quarantine.v1beta1.MsgOptInResponse} */ proto.cosmos.quarantine.v1beta1.MsgOptInResponse.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.cosmos.quarantine.v1beta1.MsgOptInResponse.prototype.serializeBinary = function () { var writer = new jspb.BinaryWriter(); proto.cosmos.quarantine.v1beta1.MsgOptInResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.cosmos.quarantine.v1beta1.MsgOptInResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cosmos.quarantine.v1beta1.MsgOptInResponse.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.cosmos.quarantine.v1beta1.MsgOptOut.prototype.toObject = function (opt_includeInstance) { return proto.cosmos.quarantine.v1beta1.MsgOptOut.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.cosmos.quarantine.v1beta1.MsgOptOut} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cosmos.quarantine.v1beta1.MsgOptOut.toObject = function (includeInstance, msg) { var f, obj = { toAddress: 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.cosmos.quarantine.v1beta1.MsgOptOut} */ proto.cosmos.quarantine.v1beta1.MsgOptOut.deserializeBinary = function (bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.cosmos.quarantine.v1beta1.MsgOptOut(); return proto.cosmos.quarantine.v1beta1.MsgOptOut.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.cosmos.quarantine.v1beta1.MsgOptOut} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.cosmos.quarantine.v1beta1.MsgOptOut} */ proto.cosmos.quarantine.v1beta1.MsgOptOut.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.setToAddress(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.cosmos.quarantine.v1beta1.MsgOptOut.prototype.serializeBinary = function () { var writer = new jspb.BinaryWriter(); proto.cosmos.quarantine.v1beta1.MsgOptOut.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.cosmos.quarantine.v1beta1.MsgOptOut} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cosmos.quarantine.v1beta1.MsgOptOut.serializeBinaryToWriter = function (message, writer) { var f = undefined; f = message.getToAddress(); if (f.length > 0) { writer.writeString(1, f); } }; /** * optional string to_address = 1; * @return {string} */ proto.cosmos.quarantine.v1beta1.MsgOptOut.prototype.getToAddress = function () { return ( /** @type {string} */ jspb.Message.getFieldWithDefault(this, 1, "") ); }; /** * @param {string} value * @return {!proto.cosmos.quarantine.v1beta1.MsgOptOut} returns this */ proto.cosmos.quarantine.v1beta1.MsgOptOut.prototype.setToAddress = 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.cosmos.quarantine.v1beta1.MsgOptOutResponse.prototype.toObject = function (opt_includeInstance) { return proto.cosmos.quarantine.v1beta1.MsgOptOutResponse.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.cosmos.quarantine.v1beta1.MsgOptOutResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cosmos.quarantine.v1beta1.MsgOptOutResponse.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.cosmos.quarantine.v1beta1.MsgOptOutResponse} */ proto.cosmos.quarantine.v1beta1.MsgOptOutResponse.deserializeBinary = function (bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.cosmos.quarantine.v1beta1.MsgOptOutResponse(); return proto.cosmos.quarantine.v1beta1.MsgOptOutResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.cosmos.quarantine.v1beta1.MsgOptOutResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.cosmos.quarantine.v1beta1.MsgOptOutResponse} */ proto.cosmos.quarantine.v1beta1.MsgOptOutResponse.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.cosmos.quarantine.v1beta1.MsgOptOutResponse.prototype.serializeBinary = function () { var writer = new jspb.BinaryWriter(); proto.cosmos.quarantine.v1beta1.MsgOptOutResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.cosmos.quarantine.v1beta1.MsgOptOutResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cosmos.quarantine.v1beta1.MsgOptOutResponse.serializeBinaryToWriter = function (message, writer) { var f = undefined; }; /** * List of repeated fields within this message type. * @private {!Array<number>} * @const */ proto.cosmos.quarantine.v1beta1.MsgAccept.repeatedFields_ = [2]; 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.cosmos.quarantine.v1beta1.MsgAccept.prototype.toObject = function (opt_includeInstance) { return proto.cosmos.quarantine.v1beta1.MsgAccept.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.cosmos.quarantine.v1beta1.MsgAccept} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cosmos.quarantine.v1beta1.MsgAccept.toObject = function (includeInstance, msg) { var f, obj = { toAddress: jspb.Message.getFieldWithDefault(msg, 1, ""), fromAddressesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, permanent: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.cosmos.quarantine.v1beta1.MsgAccept} */ proto.cosmos.quarantine.v1beta1.MsgAccept.deserializeBinary = function (bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.cosmos.quarantine.v1beta1.MsgAccept(); return proto.cosmos.quarantine.v1beta1.MsgAccept.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.cosmos.quarantine.v1beta1.MsgAccept} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.cosmos.quarantine.v1beta1.MsgAccept} */ proto.cosmos.quarantine.v1beta1.MsgAccept.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.setToAddress(value); break; case 2: var value = /** @type {string} */ reader.readString(); msg.addFromAddresses(value); break; case 3: var value = /** @type {boolean} */ reader.readBool(); msg.setPermanent(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.cosmos.quarantine.v1beta1.MsgAccept.prototype.serializeBinary = function () { var writer = new jspb.BinaryWriter(); proto.cosmos.quarantine.v1beta1.MsgAccept.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.cosmos.quarantine.v1beta1.MsgAccept} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cosmos.quarantine.v1beta1.MsgAccept.serializeBinaryToWriter = function (message, writer) { var f = undefined; f = message.getToAddress(); if (f.length > 0) { writer.writeString(1, f); } f = message.getFromAddressesList(); if (f.length > 0) { writer.writeRepeatedString(2, f); } f = message.getPermanent(); if (f) { writer.writeBool(3, f); } }; /** * optional string to_address = 1; * @return {string} */ proto.cosmos.quarantine.v1beta1.MsgAccept.prototype.getToAddress = function () { return ( /** @type {string} */ jspb.Message.getFieldWithDefault(this, 1, "") ); }; /** * @param {string} value * @return {!proto.cosmos.quarantine.v1beta1.MsgAccept} returns this */ proto.cosmos.quarantine.v1beta1.MsgAccept.prototype.setToAddress = function (value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** * repeated string from_addresses = 2; * @return {!Array<string>} */ proto.cosmos.quarantine.v1beta1.MsgAccept.prototype.getFromAddressesList = function () { return ( /** @type {!Array<string>} */ jspb.Message.getRepeatedField(this, 2) ); }; /** * @param {!Array<string>} value * @return {!proto.cosmos.quarantine.v1beta1.MsgAccept} returns this */ proto.cosmos.quarantine.v1beta1.MsgAccept.prototype.setFromAddressesList = function (value) { return jspb.Message.setField(this, 2, value || []); }; /** * @param {string} value * @param {number=} opt_index * @return {!proto.cosmos.quarantine.v1beta1.MsgAccept} returns this */ proto.cosmos.quarantine.v1beta1.MsgAccept.prototype.addFromAddresses = function (value, opt_index) { return jspb.Message.addToRepeatedField(this, 2, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.cosmos.quarantine.v1beta1.MsgAccept} returns this */ proto.cosmos.quarantine.v1beta1.MsgAccept.prototype.clearFromAddressesList = function () { return this.setFromAddressesList([]); }; /** * optional bool permanent = 3; * @return {boolean} */ proto.cosmos.quarantine.v1beta1.MsgAccept.prototype.getPermanent = function () { return ( /** @type {boolean} */ jspb.Message.getBooleanFieldWithDefault(this, 3, false) ); }; /** * @param {boolean} value * @return {!proto.cosmos.quarantine.v1beta1.MsgAccept} returns this */ proto.cosmos.quarantine.v1beta1.MsgAccept.prototype.setPermanent = function (value) { return jspb.Message.setProto3BooleanField(this, 3, value); }; /** * List of repeated fields within this message type. * @private {!Array<number>} * @const */ proto.cosmos.quarantine.v1beta1.MsgAcceptResponse.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.cosmos.quarantine.v1beta1.MsgAcceptResponse.prototype.toObject = function (opt_includeInstance) { return proto.cosmos.quarantine.v1beta1.MsgAcceptResponse.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.cosmos.quarantine.v1beta1.MsgAcceptResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cosmos.quarantine.v1beta1.MsgAcceptResponse.toObject = function (includeInstance, msg) { var f, obj = { fundsReleasedList: jspb.Message.toObjectList(msg.getFundsReleasedList(), cosmos_base_v1beta1_coin_pb.Coin.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.cosmos.quarantine.v1beta1.MsgAcceptResponse} */ proto.cosmos.quarantine.v1beta1.MsgAcceptResponse.deserializeBinary = function (bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.cosmos.quarantine.v1beta1.MsgAcceptResponse(); return proto.cosmos.quarantine.v1beta1.MsgAcceptResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.cosmos.quarantine.v1beta1.MsgAcceptResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.cosmos.quarantine.v1beta1.MsgAcceptResponse} */ proto.cosmos.quarantine.v1beta1.MsgAcceptResponse.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.addFundsReleased(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.cosmos.quarantine.v1beta1.MsgAcceptResponse.prototype.serializeBinary = function () { var writer = new jspb.BinaryWriter(); proto.cosmos.quarantine.v1beta1.MsgAcceptResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.cosmos.quarantine.v1beta1.MsgAcceptResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cosmos.quarantine.v1beta1.MsgAcceptResponse.serializeBinaryToWriter = function (message, writer) { var f = undefined; f = message.getFundsReleasedList(); if (f.length > 0) { writer.writeRepeatedMessage(1, f, cosmos_base_v1beta1_coin_pb.Coin.serializeBinaryToWriter); } }; /** * repeated cosmos.base.v1beta1.Coin funds_released = 1; * @return {!Array<!proto.cosmos.base.v1beta1.Coin>} */ proto.cosmos.quarantine.v1beta1.MsgAcceptResponse.prototype.getFundsReleasedList = 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.cosmos.quarantine.v1beta1.MsgAcceptResponse} returns this */ proto.cosmos.quarantine.v1beta1.MsgAcceptResponse.prototype.setFundsReleasedList = 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.cosmos.quarantine.v1beta1.MsgAcceptResponse.prototype.addFundsReleased = 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.cosmos.quarantine.v1beta1.MsgAcceptResponse} returns this */ proto.cosmos.quarantine.v1beta1.MsgAcceptResponse.prototype.clearFundsReleasedList = function () { return this.setFundsReleasedList([]); }; /** * List of repeated fields within this message type. * @private {!Array<number>} * @const */ proto.cosmos.quarantine.v1beta1.MsgDecline.repeatedFields_ = [2]; 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.cosmos.quarantine.v1beta1.MsgDecline.prototype.toObject = function (opt_includeInstance) { return proto.cosmos.quarantine.v1beta1.MsgDecline.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.cosmos.quarantine.v1beta1.MsgDecline} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cosmos.quarantine.v1beta1.MsgDecline.toObject = function (includeInstance, msg) { var f, obj = { toAddress: jspb.Message.getFieldWithDefault(msg, 1, ""), fromAddressesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, permanent: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.cosmos.quarantine.v1beta1.MsgDecline} */ proto.cosmos.quarantine.v1beta1.MsgDecline.deserializeBinary = function (bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.cosmos.quarantine.v1beta1.MsgDecline(); return proto.cosmos.quarantine.v1beta1.MsgDecline.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.cosmos.quarantine.v1beta1.MsgDecline} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.cosmos.quarantine.v1beta1.MsgDecline} */ proto.cosmos.quarantine.v1beta1.MsgDecline.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.setToAddress(value); break; case 2: var value = /** @type {string} */ reader.readString(); msg.addFromAddresses(value); break; case 3: var value = /** @type {boolean} */ reader.readBool(); msg.setPermanent(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.cosmos.quarantine.v1beta1.MsgDecline.prototype.serializeBinary = function () { var writer = new jspb.BinaryWriter(); proto.cosmos.quarantine.v1beta1.MsgDecline.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.cosmos.quarantine.v1beta1.MsgDecline} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cosmos.quarantine.v1beta1.MsgDecline.serializeBinaryToWriter = function (message, writer) { var f = undefined; f = message.getToAddress(); if (f.length > 0) { writer.writeString(1, f); } f = message.getFromAddressesList(); if (f.length > 0) { writer.writeRepeatedString(2, f); } f = message.getPermanent(); if (f) { writer.writeBool(3, f); } }; /** * optional string to_address = 1; * @return {string} */ proto.cosmos.quarantine.v1beta1.MsgDecline.prototype.getToAddress = function () { return ( /** @type {string} */ jspb.Message.getFieldWithDefault(this, 1, "") ); }; /** * @param {string} value * @return {!proto.cosmos.quarantine.v1beta1.MsgDecline} returns this */ proto.cosmos.quarantine.v1beta1.MsgDecline.prototype.setToAddress = function (value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** * repeated string from_addresses = 2; * @return {!Array<string>} */ proto.cosmos.quarantine.v1beta1.MsgDecline.prototype.getFromAddressesList = function () { return ( /** @type {!Array<string>} */ jspb.Message.getRepeatedField(this, 2) ); }; /** * @param {!Array<string>} value * @return {!proto.cosmos.quarantine.v1beta1.MsgDecline} returns this */ proto.cosmos.quarantine.v1beta1.MsgDecline.prototype.setFromAddressesList = function (value) { return jspb.Message.setField(this, 2, value || []); }; /** * @param {string} value * @param {number=} opt_index * @return {!proto.cosmos.quarantine.v1beta1.MsgDecline} returns this */ proto.cosmos.quarantine.v1beta1.MsgDecline.prototype.addFromAddresses = function (value, opt_index) { return jspb.Message.addToRepeatedField(this, 2, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.cosmos.quarantine.v1beta1.MsgDecline} returns this */ proto.cosmos.quarantine.v1beta1.MsgDecline.prototype.clearFromAddressesList = function () { return this.setFromAddressesList([]); }; /** * optional bool permanent = 3; * @return {boolean} */ proto.cosmos.quarantine.v1beta1.MsgDecline.prototype.getPermanent = function () { return ( /** @type {boolean} */ jspb.Message.getBooleanFieldWithDefault(this, 3, false) ); }; /** * @param {boolean} value * @return {!proto.cosmos.quarantine.v1beta1.MsgDecline} returns this */ proto.cosmos.quarantine.v1beta1.MsgDecline.prototype.setPermanent = function (value) { return jspb.Message.setProto3BooleanField(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.cosmos.quarantine.v1beta1.MsgDeclineResponse.prototype.toObject = function (opt_includeInstance) { return proto.cosmos.quarantine.v1beta1.MsgDeclineResponse.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.cosmos.quarantine.v1beta1.MsgDeclineResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cosmos.quarantine.v1beta1.MsgDeclineResponse.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.cosmos.quarantine.v1beta1.MsgDeclineResponse} */ proto.cosmos.quarantine.v1beta1.MsgDeclineResponse.deserializeBinary = function (bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.cosmos.quarantine.v1beta1.MsgDeclineResponse(); return proto.cosmos.quarantine.v1beta1.MsgDeclineResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.cosmos.quarantine.v1beta1.MsgDeclineResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.cosmos.quarantine.v1beta1.MsgDeclineResponse} */ proto.cosmos.quarantine.v1beta1.MsgDeclineResponse.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.cosmos.quarantine.v1beta1.MsgDeclineResponse.prototype.serializeBinary = function () { var writer = new jspb.BinaryWriter(); proto.cosmos.quarantine.v1beta1.MsgDeclineResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.cosmos.quarantine.v1beta1.MsgDeclineResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cosmos.quarantine.v1beta1.MsgDeclineResponse.serializeBinaryToWriter = function (message, writer) { var f = undefined; }; /** * List of repeated fields within this message type. * @private {!Array<number>} * @const */ proto.cosmos.quarantine.v1beta1.MsgUpdateAutoResponses.repeatedFields_ = [2]; 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.cosmos.quarantine.v1beta1.MsgUpdateAutoResponses.prototype.toObject = function (opt_includeInstance) { return proto.cosmos.quarantine.v1beta1.MsgUpdateAutoResponses.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.cosmos.quarantine.v1beta1.MsgUpdateAutoResponses} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cosmos.quarantine.v1beta1.MsgUpdateAutoResponses.toObject = function (includeInstance, msg) { var f, obj = { toAddress: jspb.Message.getFieldWithDefault(msg, 1, ""), updatesList: jspb.Message.toObjectList(msg.getUpdatesList(), cosmos_quarantine_v1beta1_quarantine_pb.AutoResponseUpdate.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in p