UNPKG

@provenanceio/wallet-utils

Version:

Typescript Utilities for Provenance Blockchain Wallet

1,474 lines (1,218 loc) 51.9 kB
// source: cosmos/streaming/abci/v1/grpc.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 tendermint_abci_types_pb = require('../../../../tendermint/abci/types_pb.js'); goog.object.extend(proto, tendermint_abci_types_pb); var cosmos_base_store_v1beta1_listening_pb = require('../../../../cosmos/base/store/v1beta1/listening_pb.js'); goog.object.extend(proto, cosmos_base_store_v1beta1_listening_pb); goog.exportSymbol('proto.cosmos.streaming.abci.v1.ListenBeginBlockRequest', null, global); goog.exportSymbol('proto.cosmos.streaming.abci.v1.ListenBeginBlockResponse', null, global); goog.exportSymbol('proto.cosmos.streaming.abci.v1.ListenCommitRequest', null, global); goog.exportSymbol('proto.cosmos.streaming.abci.v1.ListenCommitResponse', null, global); goog.exportSymbol('proto.cosmos.streaming.abci.v1.ListenDeliverTxRequest', null, global); goog.exportSymbol('proto.cosmos.streaming.abci.v1.ListenDeliverTxResponse', null, global); goog.exportSymbol('proto.cosmos.streaming.abci.v1.ListenEndBlockRequest', null, global); goog.exportSymbol('proto.cosmos.streaming.abci.v1.ListenEndBlockResponse', 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.streaming.abci.v1.ListenBeginBlockRequest = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.cosmos.streaming.abci.v1.ListenBeginBlockRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.cosmos.streaming.abci.v1.ListenBeginBlockRequest.displayName = 'proto.cosmos.streaming.abci.v1.ListenBeginBlockRequest'; } /** * 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.streaming.abci.v1.ListenBeginBlockResponse = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.cosmos.streaming.abci.v1.ListenBeginBlockResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.cosmos.streaming.abci.v1.ListenBeginBlockResponse.displayName = 'proto.cosmos.streaming.abci.v1.ListenBeginBlockResponse'; } /** * 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.streaming.abci.v1.ListenEndBlockRequest = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.cosmos.streaming.abci.v1.ListenEndBlockRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.cosmos.streaming.abci.v1.ListenEndBlockRequest.displayName = 'proto.cosmos.streaming.abci.v1.ListenEndBlockRequest'; } /** * 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.streaming.abci.v1.ListenEndBlockResponse = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.cosmos.streaming.abci.v1.ListenEndBlockResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.cosmos.streaming.abci.v1.ListenEndBlockResponse.displayName = 'proto.cosmos.streaming.abci.v1.ListenEndBlockResponse'; } /** * 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.streaming.abci.v1.ListenDeliverTxRequest = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.cosmos.streaming.abci.v1.ListenDeliverTxRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.cosmos.streaming.abci.v1.ListenDeliverTxRequest.displayName = 'proto.cosmos.streaming.abci.v1.ListenDeliverTxRequest'; } /** * 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.streaming.abci.v1.ListenDeliverTxResponse = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.cosmos.streaming.abci.v1.ListenDeliverTxResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.cosmos.streaming.abci.v1.ListenDeliverTxResponse.displayName = 'proto.cosmos.streaming.abci.v1.ListenDeliverTxResponse'; } /** * 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.streaming.abci.v1.ListenCommitRequest = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.cosmos.streaming.abci.v1.ListenCommitRequest.repeatedFields_, null); }; goog.inherits(proto.cosmos.streaming.abci.v1.ListenCommitRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.cosmos.streaming.abci.v1.ListenCommitRequest.displayName = 'proto.cosmos.streaming.abci.v1.ListenCommitRequest'; } /** * 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.streaming.abci.v1.ListenCommitResponse = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.cosmos.streaming.abci.v1.ListenCommitResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.cosmos.streaming.abci.v1.ListenCommitResponse.displayName = 'proto.cosmos.streaming.abci.v1.ListenCommitResponse'; } 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.streaming.abci.v1.ListenBeginBlockRequest.prototype.toObject = function (opt_includeInstance) { return proto.cosmos.streaming.abci.v1.ListenBeginBlockRequest.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.streaming.abci.v1.ListenBeginBlockRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cosmos.streaming.abci.v1.ListenBeginBlockRequest.toObject = function (includeInstance, msg) { var f, obj = { req: (f = msg.getReq()) && tendermint_abci_types_pb.RequestBeginBlock.toObject(includeInstance, f), res: (f = msg.getRes()) && tendermint_abci_types_pb.ResponseBeginBlock.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.cosmos.streaming.abci.v1.ListenBeginBlockRequest} */ proto.cosmos.streaming.abci.v1.ListenBeginBlockRequest.deserializeBinary = function (bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.cosmos.streaming.abci.v1.ListenBeginBlockRequest(); return proto.cosmos.streaming.abci.v1.ListenBeginBlockRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.cosmos.streaming.abci.v1.ListenBeginBlockRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.cosmos.streaming.abci.v1.ListenBeginBlockRequest} */ proto.cosmos.streaming.abci.v1.ListenBeginBlockRequest.deserializeBinaryFromReader = function (msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new tendermint_abci_types_pb.RequestBeginBlock(); reader.readMessage(value, tendermint_abci_types_pb.RequestBeginBlock.deserializeBinaryFromReader); msg.setReq(value); break; case 2: var value = new tendermint_abci_types_pb.ResponseBeginBlock(); reader.readMessage(value, tendermint_abci_types_pb.ResponseBeginBlock.deserializeBinaryFromReader); msg.setRes(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.cosmos.streaming.abci.v1.ListenBeginBlockRequest.prototype.serializeBinary = function () { var writer = new jspb.BinaryWriter(); proto.cosmos.streaming.abci.v1.ListenBeginBlockRequest.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.streaming.abci.v1.ListenBeginBlockRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cosmos.streaming.abci.v1.ListenBeginBlockRequest.serializeBinaryToWriter = function (message, writer) { var f = undefined; f = message.getReq(); if (f != null) { writer.writeMessage(1, f, tendermint_abci_types_pb.RequestBeginBlock.serializeBinaryToWriter); } f = message.getRes(); if (f != null) { writer.writeMessage(2, f, tendermint_abci_types_pb.ResponseBeginBlock.serializeBinaryToWriter); } }; /** * optional tendermint.abci.RequestBeginBlock req = 1; * @return {?proto.tendermint.abci.RequestBeginBlock} */ proto.cosmos.streaming.abci.v1.ListenBeginBlockRequest.prototype.getReq = function () { return ( /** @type{?proto.tendermint.abci.RequestBeginBlock} */ jspb.Message.getWrapperField(this, tendermint_abci_types_pb.RequestBeginBlock, 1) ); }; /** * @param {?proto.tendermint.abci.RequestBeginBlock|undefined} value * @return {!proto.cosmos.streaming.abci.v1.ListenBeginBlockRequest} returns this */ proto.cosmos.streaming.abci.v1.ListenBeginBlockRequest.prototype.setReq = function (value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.cosmos.streaming.abci.v1.ListenBeginBlockRequest} returns this */ proto.cosmos.streaming.abci.v1.ListenBeginBlockRequest.prototype.clearReq = function () { return this.setReq(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.cosmos.streaming.abci.v1.ListenBeginBlockRequest.prototype.hasReq = function () { return jspb.Message.getField(this, 1) != null; }; /** * optional tendermint.abci.ResponseBeginBlock res = 2; * @return {?proto.tendermint.abci.ResponseBeginBlock} */ proto.cosmos.streaming.abci.v1.ListenBeginBlockRequest.prototype.getRes = function () { return ( /** @type{?proto.tendermint.abci.ResponseBeginBlock} */ jspb.Message.getWrapperField(this, tendermint_abci_types_pb.ResponseBeginBlock, 2) ); }; /** * @param {?proto.tendermint.abci.ResponseBeginBlock|undefined} value * @return {!proto.cosmos.streaming.abci.v1.ListenBeginBlockRequest} returns this */ proto.cosmos.streaming.abci.v1.ListenBeginBlockRequest.prototype.setRes = function (value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.cosmos.streaming.abci.v1.ListenBeginBlockRequest} returns this */ proto.cosmos.streaming.abci.v1.ListenBeginBlockRequest.prototype.clearRes = function () { return this.setRes(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.cosmos.streaming.abci.v1.ListenBeginBlockRequest.prototype.hasRes = function () { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.cosmos.streaming.abci.v1.ListenBeginBlockResponse.prototype.toObject = function (opt_includeInstance) { return proto.cosmos.streaming.abci.v1.ListenBeginBlockResponse.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.streaming.abci.v1.ListenBeginBlockResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cosmos.streaming.abci.v1.ListenBeginBlockResponse.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.streaming.abci.v1.ListenBeginBlockResponse} */ proto.cosmos.streaming.abci.v1.ListenBeginBlockResponse.deserializeBinary = function (bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.cosmos.streaming.abci.v1.ListenBeginBlockResponse(); return proto.cosmos.streaming.abci.v1.ListenBeginBlockResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.cosmos.streaming.abci.v1.ListenBeginBlockResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.cosmos.streaming.abci.v1.ListenBeginBlockResponse} */ proto.cosmos.streaming.abci.v1.ListenBeginBlockResponse.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.streaming.abci.v1.ListenBeginBlockResponse.prototype.serializeBinary = function () { var writer = new jspb.BinaryWriter(); proto.cosmos.streaming.abci.v1.ListenBeginBlockResponse.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.streaming.abci.v1.ListenBeginBlockResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cosmos.streaming.abci.v1.ListenBeginBlockResponse.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.streaming.abci.v1.ListenEndBlockRequest.prototype.toObject = function (opt_includeInstance) { return proto.cosmos.streaming.abci.v1.ListenEndBlockRequest.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.streaming.abci.v1.ListenEndBlockRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cosmos.streaming.abci.v1.ListenEndBlockRequest.toObject = function (includeInstance, msg) { var f, obj = { req: (f = msg.getReq()) && tendermint_abci_types_pb.RequestEndBlock.toObject(includeInstance, f), res: (f = msg.getRes()) && tendermint_abci_types_pb.ResponseEndBlock.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.cosmos.streaming.abci.v1.ListenEndBlockRequest} */ proto.cosmos.streaming.abci.v1.ListenEndBlockRequest.deserializeBinary = function (bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.cosmos.streaming.abci.v1.ListenEndBlockRequest(); return proto.cosmos.streaming.abci.v1.ListenEndBlockRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.cosmos.streaming.abci.v1.ListenEndBlockRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.cosmos.streaming.abci.v1.ListenEndBlockRequest} */ proto.cosmos.streaming.abci.v1.ListenEndBlockRequest.deserializeBinaryFromReader = function (msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new tendermint_abci_types_pb.RequestEndBlock(); reader.readMessage(value, tendermint_abci_types_pb.RequestEndBlock.deserializeBinaryFromReader); msg.setReq(value); break; case 2: var value = new tendermint_abci_types_pb.ResponseEndBlock(); reader.readMessage(value, tendermint_abci_types_pb.ResponseEndBlock.deserializeBinaryFromReader); msg.setRes(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.cosmos.streaming.abci.v1.ListenEndBlockRequest.prototype.serializeBinary = function () { var writer = new jspb.BinaryWriter(); proto.cosmos.streaming.abci.v1.ListenEndBlockRequest.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.streaming.abci.v1.ListenEndBlockRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cosmos.streaming.abci.v1.ListenEndBlockRequest.serializeBinaryToWriter = function (message, writer) { var f = undefined; f = message.getReq(); if (f != null) { writer.writeMessage(1, f, tendermint_abci_types_pb.RequestEndBlock.serializeBinaryToWriter); } f = message.getRes(); if (f != null) { writer.writeMessage(2, f, tendermint_abci_types_pb.ResponseEndBlock.serializeBinaryToWriter); } }; /** * optional tendermint.abci.RequestEndBlock req = 1; * @return {?proto.tendermint.abci.RequestEndBlock} */ proto.cosmos.streaming.abci.v1.ListenEndBlockRequest.prototype.getReq = function () { return ( /** @type{?proto.tendermint.abci.RequestEndBlock} */ jspb.Message.getWrapperField(this, tendermint_abci_types_pb.RequestEndBlock, 1) ); }; /** * @param {?proto.tendermint.abci.RequestEndBlock|undefined} value * @return {!proto.cosmos.streaming.abci.v1.ListenEndBlockRequest} returns this */ proto.cosmos.streaming.abci.v1.ListenEndBlockRequest.prototype.setReq = function (value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.cosmos.streaming.abci.v1.ListenEndBlockRequest} returns this */ proto.cosmos.streaming.abci.v1.ListenEndBlockRequest.prototype.clearReq = function () { return this.setReq(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.cosmos.streaming.abci.v1.ListenEndBlockRequest.prototype.hasReq = function () { return jspb.Message.getField(this, 1) != null; }; /** * optional tendermint.abci.ResponseEndBlock res = 2; * @return {?proto.tendermint.abci.ResponseEndBlock} */ proto.cosmos.streaming.abci.v1.ListenEndBlockRequest.prototype.getRes = function () { return ( /** @type{?proto.tendermint.abci.ResponseEndBlock} */ jspb.Message.getWrapperField(this, tendermint_abci_types_pb.ResponseEndBlock, 2) ); }; /** * @param {?proto.tendermint.abci.ResponseEndBlock|undefined} value * @return {!proto.cosmos.streaming.abci.v1.ListenEndBlockRequest} returns this */ proto.cosmos.streaming.abci.v1.ListenEndBlockRequest.prototype.setRes = function (value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.cosmos.streaming.abci.v1.ListenEndBlockRequest} returns this */ proto.cosmos.streaming.abci.v1.ListenEndBlockRequest.prototype.clearRes = function () { return this.setRes(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.cosmos.streaming.abci.v1.ListenEndBlockRequest.prototype.hasRes = function () { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.cosmos.streaming.abci.v1.ListenEndBlockResponse.prototype.toObject = function (opt_includeInstance) { return proto.cosmos.streaming.abci.v1.ListenEndBlockResponse.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.streaming.abci.v1.ListenEndBlockResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cosmos.streaming.abci.v1.ListenEndBlockResponse.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.streaming.abci.v1.ListenEndBlockResponse} */ proto.cosmos.streaming.abci.v1.ListenEndBlockResponse.deserializeBinary = function (bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.cosmos.streaming.abci.v1.ListenEndBlockResponse(); return proto.cosmos.streaming.abci.v1.ListenEndBlockResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.cosmos.streaming.abci.v1.ListenEndBlockResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.cosmos.streaming.abci.v1.ListenEndBlockResponse} */ proto.cosmos.streaming.abci.v1.ListenEndBlockResponse.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.streaming.abci.v1.ListenEndBlockResponse.prototype.serializeBinary = function () { var writer = new jspb.BinaryWriter(); proto.cosmos.streaming.abci.v1.ListenEndBlockResponse.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.streaming.abci.v1.ListenEndBlockResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cosmos.streaming.abci.v1.ListenEndBlockResponse.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.streaming.abci.v1.ListenDeliverTxRequest.prototype.toObject = function (opt_includeInstance) { return proto.cosmos.streaming.abci.v1.ListenDeliverTxRequest.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.streaming.abci.v1.ListenDeliverTxRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cosmos.streaming.abci.v1.ListenDeliverTxRequest.toObject = function (includeInstance, msg) { var f, obj = { blockHeight: jspb.Message.getFieldWithDefault(msg, 1, 0), req: (f = msg.getReq()) && tendermint_abci_types_pb.RequestDeliverTx.toObject(includeInstance, f), res: (f = msg.getRes()) && tendermint_abci_types_pb.ResponseDeliverTx.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.cosmos.streaming.abci.v1.ListenDeliverTxRequest} */ proto.cosmos.streaming.abci.v1.ListenDeliverTxRequest.deserializeBinary = function (bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.cosmos.streaming.abci.v1.ListenDeliverTxRequest(); return proto.cosmos.streaming.abci.v1.ListenDeliverTxRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.cosmos.streaming.abci.v1.ListenDeliverTxRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.cosmos.streaming.abci.v1.ListenDeliverTxRequest} */ proto.cosmos.streaming.abci.v1.ListenDeliverTxRequest.deserializeBinaryFromReader = function (msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ reader.readInt64(); msg.setBlockHeight(value); break; case 2: var value = new tendermint_abci_types_pb.RequestDeliverTx(); reader.readMessage(value, tendermint_abci_types_pb.RequestDeliverTx.deserializeBinaryFromReader); msg.setReq(value); break; case 3: var value = new tendermint_abci_types_pb.ResponseDeliverTx(); reader.readMessage(value, tendermint_abci_types_pb.ResponseDeliverTx.deserializeBinaryFromReader); msg.setRes(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.cosmos.streaming.abci.v1.ListenDeliverTxRequest.prototype.serializeBinary = function () { var writer = new jspb.BinaryWriter(); proto.cosmos.streaming.abci.v1.ListenDeliverTxRequest.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.streaming.abci.v1.ListenDeliverTxRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cosmos.streaming.abci.v1.ListenDeliverTxRequest.serializeBinaryToWriter = function (message, writer) { var f = undefined; f = message.getBlockHeight(); if (f !== 0) { writer.writeInt64(1, f); } f = message.getReq(); if (f != null) { writer.writeMessage(2, f, tendermint_abci_types_pb.RequestDeliverTx.serializeBinaryToWriter); } f = message.getRes(); if (f != null) { writer.writeMessage(3, f, tendermint_abci_types_pb.ResponseDeliverTx.serializeBinaryToWriter); } }; /** * optional int64 block_height = 1; * @return {number} */ proto.cosmos.streaming.abci.v1.ListenDeliverTxRequest.prototype.getBlockHeight = function () { return ( /** @type {number} */ jspb.Message.getFieldWithDefault(this, 1, 0) ); }; /** * @param {number} value * @return {!proto.cosmos.streaming.abci.v1.ListenDeliverTxRequest} returns this */ proto.cosmos.streaming.abci.v1.ListenDeliverTxRequest.prototype.setBlockHeight = function (value) { return jspb.Message.setProto3IntField(this, 1, value); }; /** * optional tendermint.abci.RequestDeliverTx req = 2; * @return {?proto.tendermint.abci.RequestDeliverTx} */ proto.cosmos.streaming.abci.v1.ListenDeliverTxRequest.prototype.getReq = function () { return ( /** @type{?proto.tendermint.abci.RequestDeliverTx} */ jspb.Message.getWrapperField(this, tendermint_abci_types_pb.RequestDeliverTx, 2) ); }; /** * @param {?proto.tendermint.abci.RequestDeliverTx|undefined} value * @return {!proto.cosmos.streaming.abci.v1.ListenDeliverTxRequest} returns this */ proto.cosmos.streaming.abci.v1.ListenDeliverTxRequest.prototype.setReq = function (value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.cosmos.streaming.abci.v1.ListenDeliverTxRequest} returns this */ proto.cosmos.streaming.abci.v1.ListenDeliverTxRequest.prototype.clearReq = function () { return this.setReq(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.cosmos.streaming.abci.v1.ListenDeliverTxRequest.prototype.hasReq = function () { return jspb.Message.getField(this, 2) != null; }; /** * optional tendermint.abci.ResponseDeliverTx res = 3; * @return {?proto.tendermint.abci.ResponseDeliverTx} */ proto.cosmos.streaming.abci.v1.ListenDeliverTxRequest.prototype.getRes = function () { return ( /** @type{?proto.tendermint.abci.ResponseDeliverTx} */ jspb.Message.getWrapperField(this, tendermint_abci_types_pb.ResponseDeliverTx, 3) ); }; /** * @param {?proto.tendermint.abci.ResponseDeliverTx|undefined} value * @return {!proto.cosmos.streaming.abci.v1.ListenDeliverTxRequest} returns this */ proto.cosmos.streaming.abci.v1.ListenDeliverTxRequest.prototype.setRes = function (value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. * @return {!proto.cosmos.streaming.abci.v1.ListenDeliverTxRequest} returns this */ proto.cosmos.streaming.abci.v1.ListenDeliverTxRequest.prototype.clearRes = function () { return this.setRes(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.cosmos.streaming.abci.v1.ListenDeliverTxRequest.prototype.hasRes = function () { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.cosmos.streaming.abci.v1.ListenDeliverTxResponse.prototype.toObject = function (opt_includeInstance) { return proto.cosmos.streaming.abci.v1.ListenDeliverTxResponse.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.streaming.abci.v1.ListenDeliverTxResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cosmos.streaming.abci.v1.ListenDeliverTxResponse.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.streaming.abci.v1.ListenDeliverTxResponse} */ proto.cosmos.streaming.abci.v1.ListenDeliverTxResponse.deserializeBinary = function (bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.cosmos.streaming.abci.v1.ListenDeliverTxResponse(); return proto.cosmos.streaming.abci.v1.ListenDeliverTxResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.cosmos.streaming.abci.v1.ListenDeliverTxResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.cosmos.streaming.abci.v1.ListenDeliverTxResponse} */ proto.cosmos.streaming.abci.v1.ListenDeliverTxResponse.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.streaming.abci.v1.ListenDeliverTxResponse.prototype.serializeBinary = function () { var writer = new jspb.BinaryWriter(); proto.cosmos.streaming.abci.v1.ListenDeliverTxResponse.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.streaming.abci.v1.ListenDeliverTxResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cosmos.streaming.abci.v1.ListenDeliverTxResponse.serializeBinaryToWriter = function (message, writer) { var f = undefined; }; /** * List of repeated fields within this message type. * @private {!Array<number>} * @const */ proto.cosmos.streaming.abci.v1.ListenCommitRequest.repeatedFields_ = [3]; 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.streaming.abci.v1.ListenCommitRequest.prototype.toObject = function (opt_includeInstance) { return proto.cosmos.streaming.abci.v1.ListenCommitRequest.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.streaming.abci.v1.ListenCommitRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cosmos.streaming.abci.v1.ListenCommitRequest.toObject = function (includeInstance, msg) { var f, obj = { blockHeight: jspb.Message.getFieldWithDefault(msg, 1, 0), res: (f = msg.getRes()) && tendermint_abci_types_pb.ResponseCommit.toObject(includeInstance, f), changeSetList: jspb.Message.toObjectList(msg.getChangeSetList(), cosmos_base_store_v1beta1_listening_pb.StoreKVPair.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.streaming.abci.v1.ListenCommitRequest} */ proto.cosmos.streaming.abci.v1.ListenCommitRequest.deserializeBinary = function (bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.cosmos.streaming.abci.v1.ListenCommitRequest(); return proto.cosmos.streaming.abci.v1.ListenCommitRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.cosmos.streaming.abci.v1.ListenCommitRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.cosmos.streaming.abci.v1.ListenCommitRequest} */ proto.cosmos.streaming.abci.v1.ListenCommitRequest.deserializeBinaryFromReader = function (msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ reader.readInt64(); msg.setBlockHeight(value); break; case 2: var value = new tendermint_abci_types_pb.ResponseCommit(); reader.readMessage(value, tendermint_abci_types_pb.ResponseCommit.deserializeBinaryFromReader); msg.setRes(value); break; case 3: var value = new cosmos_base_store_v1beta1_listening_pb.StoreKVPair(); reader.readMessage(value, cosmos_base_store_v1beta1_listening_pb.StoreKVPair.deserializeBinaryFromReader); msg.addChangeSet(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.cosmos.streaming.abci.v1.ListenCommitRequest.prototype.serializeBinary = function () { var writer = new jspb.BinaryWriter(); proto.cosmos.streaming.abci.v1.ListenCommitRequest.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.streaming.abci.v1.ListenCommitRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cosmos.streaming.abci.v1.ListenCommitRequest.serializeBinaryToWriter = function (message, writer) { var f = undefined; f = message.getBlockHeight(); if (f !== 0) { writer.writeInt64(1, f); } f = message.getRes(); if (f != null) { writer.writeMessage(2, f, tendermint_abci_types_pb.ResponseCommit.serializeBinaryToWriter); } f = message.getChangeSetList(); if (f.length > 0) { writer.writeRepeatedMessage(3, f, cosmos_base_store_v1beta1_listening_pb.StoreKVPair.serializeBinaryToWriter); } }; /** * optional int64 block_height = 1; * @return {number} */ proto.cosmos.streaming.abci.v1.ListenCommitRequest.prototype.getBlockHeight = function () { return ( /** @type {number} */ jspb.Message.getFieldWithDefault(this, 1, 0) ); }; /** * @param {number} value * @return {!proto.cosmos.streaming.abci.v1.ListenCommitRequest} returns this */ proto.cosmos.streaming.abci.v1.ListenCommitRequest.prototype.setBlockHeight = function (value) { return jspb.Message.setProto3IntField(this, 1, value); }; /** * optional tendermint.abci.ResponseCommit res = 2; * @return {?proto.tendermint.abci.ResponseCommit} */ proto.cosmos.streaming.abci.v1.ListenCommitRequest.prototype.getRes = function () { return ( /** @type{?proto.tendermint.abci.ResponseCommit} */ jspb.Message.getWrapperField(this, tendermint_abci_types_pb.ResponseCommit, 2) ); }; /** * @param {?proto.tendermint.abci.ResponseCommit|undefined} value * @return {!proto.cosmos.streaming.abci.v1.ListenCommitRequest} returns this */ proto.cosmos.streaming.abci.v1.ListenCommitRequest.prototype.setRes = function (value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.cosmos.streaming.abci.v1.ListenCommitRequest} returns this */ proto.cosmos.streaming.abci.v1.ListenCommitRequest.prototype.clearRes = function () { return this.setRes(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.cosmos.streaming.abci.v1.ListenCommitRequest.prototype.hasRes = function () { return jspb.Message.getField(this, 2) != null; }; /** * repeated cosmos.base.store.v1beta1.StoreKVPair change_set = 3; * @return {!Array<!proto.cosmos.base.store.v1beta1.StoreKVPair>} */ proto.cosmos.streaming.abci.v1.ListenCommitRequest.prototype.getChangeSetList = function () { return ( /** @type{!Array<!proto.cosmos.base.store.v1beta1.StoreKVPair>} */ jspb.Message.getRepeatedWrapperField(this, cosmos_base_store_v1beta1_listening_pb.StoreKVPair, 3) ); }; /** * @param {!Array<!proto.cosmos.base.store.v1beta1.StoreKVPair>} value * @return {!proto.cosmos.streaming.abci.v1.ListenCommitRequest} returns this */ proto.cosmos.streaming.abci.v1.ListenCommitRequest.prototype.setChangeSetList = function (value) { return jspb.Message.setRepeatedWrapperField(this, 3, value); }; /** * @param {!proto.cosmos.base.store.v1beta1.StoreKVPair=} opt_value * @param {number=} opt_index * @return {!proto.cosmos.base.store.v1beta1.StoreKVPair} */ proto.cosmos.streaming.abci.v1.ListenCommitRequest.prototype.addChangeSet = function (opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.cosmos.base.store.v1beta1.StoreKVPair, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.cosmos.streaming.abci.v1.ListenCommitRequest} returns this */ proto.cosmos.streaming.abci.v1.ListenCommitRequest.prototype.clearChangeSetList = function () { return this.setChangeSetList([]); }; 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.streaming.abci.v1.ListenCommitResponse.prototype.toObject = function (opt_includeInstance) { return proto.cosmos.streaming.abci.v1.ListenCommitResponse.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.streaming.abci.v1.ListenCommitResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cosmos.streaming.abci.v1.ListenCommitResponse.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. *