UNPKG

@routerprotocol/chain-api

Version:

Router Chain API Query client with generated gRPC bindings.

1,343 lines (1,232 loc) 214 kB
// source: ibc/core/channel/v1/query.proto /** * @fileoverview * @enhanceable * @suppress {missingRequire} reports error on implicit type usages. * @suppress {messageConventions} JS Compiler reports an error if a variable or * field starts with 'MSG_' and isn't a translatable message. * @public */ // GENERATED CODE -- DO NOT EDIT! /* eslint-disable */ // @ts-nocheck var jspb = require('google-protobuf'); var goog = jspb; var global = Function('return this')(); var ibc_core_client_v1_client_pb = require('../../../../ibc/core/client/v1/client_pb.js'); goog.object.extend(proto, ibc_core_client_v1_client_pb); var cosmos_base_query_v1beta1_pagination_pb = require('../../../../cosmos/base/query/v1beta1/pagination_pb.js'); goog.object.extend(proto, cosmos_base_query_v1beta1_pagination_pb); var ibc_core_channel_v1_channel_pb = require('../../../../ibc/core/channel/v1/channel_pb.js'); goog.object.extend(proto, ibc_core_channel_v1_channel_pb); var google_api_annotations_pb = require('../../../../google/api/annotations_pb.js'); goog.object.extend(proto, google_api_annotations_pb); var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); goog.object.extend(proto, google_protobuf_any_pb); var gogoproto_gogo_pb = require('../../../../gogoproto/gogo_pb.js'); goog.object.extend(proto, gogoproto_gogo_pb); goog.exportSymbol('proto.ibc.core.channel.v1.QueryChannelClientStateRequest', null, global); goog.exportSymbol('proto.ibc.core.channel.v1.QueryChannelClientStateResponse', null, global); goog.exportSymbol('proto.ibc.core.channel.v1.QueryChannelConsensusStateRequest', null, global); goog.exportSymbol('proto.ibc.core.channel.v1.QueryChannelConsensusStateResponse', null, global); goog.exportSymbol('proto.ibc.core.channel.v1.QueryChannelRequest', null, global); goog.exportSymbol('proto.ibc.core.channel.v1.QueryChannelResponse', null, global); goog.exportSymbol('proto.ibc.core.channel.v1.QueryChannelsRequest', null, global); goog.exportSymbol('proto.ibc.core.channel.v1.QueryChannelsResponse', null, global); goog.exportSymbol('proto.ibc.core.channel.v1.QueryConnectionChannelsRequest', null, global); goog.exportSymbol('proto.ibc.core.channel.v1.QueryConnectionChannelsResponse', null, global); goog.exportSymbol('proto.ibc.core.channel.v1.QueryNextSequenceReceiveRequest', null, global); goog.exportSymbol('proto.ibc.core.channel.v1.QueryNextSequenceReceiveResponse', null, global); goog.exportSymbol('proto.ibc.core.channel.v1.QueryPacketAcknowledgementRequest', null, global); goog.exportSymbol('proto.ibc.core.channel.v1.QueryPacketAcknowledgementResponse', null, global); goog.exportSymbol('proto.ibc.core.channel.v1.QueryPacketAcknowledgementsRequest', null, global); goog.exportSymbol('proto.ibc.core.channel.v1.QueryPacketAcknowledgementsResponse', null, global); goog.exportSymbol('proto.ibc.core.channel.v1.QueryPacketCommitmentRequest', null, global); goog.exportSymbol('proto.ibc.core.channel.v1.QueryPacketCommitmentResponse', null, global); goog.exportSymbol('proto.ibc.core.channel.v1.QueryPacketCommitmentsRequest', null, global); goog.exportSymbol('proto.ibc.core.channel.v1.QueryPacketCommitmentsResponse', null, global); goog.exportSymbol('proto.ibc.core.channel.v1.QueryPacketReceiptRequest', null, global); goog.exportSymbol('proto.ibc.core.channel.v1.QueryPacketReceiptResponse', null, global); goog.exportSymbol('proto.ibc.core.channel.v1.QueryUnreceivedAcksRequest', null, global); goog.exportSymbol('proto.ibc.core.channel.v1.QueryUnreceivedAcksResponse', null, global); goog.exportSymbol('proto.ibc.core.channel.v1.QueryUnreceivedPacketsRequest', null, global); goog.exportSymbol('proto.ibc.core.channel.v1.QueryUnreceivedPacketsResponse', 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.ibc.core.channel.v1.QueryChannelRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ibc.core.channel.v1.QueryChannelRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ibc.core.channel.v1.QueryChannelRequest.displayName = 'proto.ibc.core.channel.v1.QueryChannelRequest'; } /** * 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.ibc.core.channel.v1.QueryChannelResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ibc.core.channel.v1.QueryChannelResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ibc.core.channel.v1.QueryChannelResponse.displayName = 'proto.ibc.core.channel.v1.QueryChannelResponse'; } /** * 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.ibc.core.channel.v1.QueryChannelsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ibc.core.channel.v1.QueryChannelsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ibc.core.channel.v1.QueryChannelsRequest.displayName = 'proto.ibc.core.channel.v1.QueryChannelsRequest'; } /** * 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.ibc.core.channel.v1.QueryChannelsResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ibc.core.channel.v1.QueryChannelsResponse.repeatedFields_, null); }; goog.inherits(proto.ibc.core.channel.v1.QueryChannelsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ibc.core.channel.v1.QueryChannelsResponse.displayName = 'proto.ibc.core.channel.v1.QueryChannelsResponse'; } /** * 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.ibc.core.channel.v1.QueryConnectionChannelsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ibc.core.channel.v1.QueryConnectionChannelsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ibc.core.channel.v1.QueryConnectionChannelsRequest.displayName = 'proto.ibc.core.channel.v1.QueryConnectionChannelsRequest'; } /** * 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.ibc.core.channel.v1.QueryConnectionChannelsResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ibc.core.channel.v1.QueryConnectionChannelsResponse.repeatedFields_, null); }; goog.inherits(proto.ibc.core.channel.v1.QueryConnectionChannelsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ibc.core.channel.v1.QueryConnectionChannelsResponse.displayName = 'proto.ibc.core.channel.v1.QueryConnectionChannelsResponse'; } /** * 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.ibc.core.channel.v1.QueryChannelClientStateRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ibc.core.channel.v1.QueryChannelClientStateRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ibc.core.channel.v1.QueryChannelClientStateRequest.displayName = 'proto.ibc.core.channel.v1.QueryChannelClientStateRequest'; } /** * 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.ibc.core.channel.v1.QueryChannelClientStateResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ibc.core.channel.v1.QueryChannelClientStateResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ibc.core.channel.v1.QueryChannelClientStateResponse.displayName = 'proto.ibc.core.channel.v1.QueryChannelClientStateResponse'; } /** * 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.ibc.core.channel.v1.QueryChannelConsensusStateRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ibc.core.channel.v1.QueryChannelConsensusStateRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ibc.core.channel.v1.QueryChannelConsensusStateRequest.displayName = 'proto.ibc.core.channel.v1.QueryChannelConsensusStateRequest'; } /** * 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.ibc.core.channel.v1.QueryChannelConsensusStateResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ibc.core.channel.v1.QueryChannelConsensusStateResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ibc.core.channel.v1.QueryChannelConsensusStateResponse.displayName = 'proto.ibc.core.channel.v1.QueryChannelConsensusStateResponse'; } /** * 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.ibc.core.channel.v1.QueryPacketCommitmentRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ibc.core.channel.v1.QueryPacketCommitmentRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ibc.core.channel.v1.QueryPacketCommitmentRequest.displayName = 'proto.ibc.core.channel.v1.QueryPacketCommitmentRequest'; } /** * 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.ibc.core.channel.v1.QueryPacketCommitmentResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ibc.core.channel.v1.QueryPacketCommitmentResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ibc.core.channel.v1.QueryPacketCommitmentResponse.displayName = 'proto.ibc.core.channel.v1.QueryPacketCommitmentResponse'; } /** * 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.ibc.core.channel.v1.QueryPacketCommitmentsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ibc.core.channel.v1.QueryPacketCommitmentsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ibc.core.channel.v1.QueryPacketCommitmentsRequest.displayName = 'proto.ibc.core.channel.v1.QueryPacketCommitmentsRequest'; } /** * 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.ibc.core.channel.v1.QueryPacketCommitmentsResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ibc.core.channel.v1.QueryPacketCommitmentsResponse.repeatedFields_, null); }; goog.inherits(proto.ibc.core.channel.v1.QueryPacketCommitmentsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ibc.core.channel.v1.QueryPacketCommitmentsResponse.displayName = 'proto.ibc.core.channel.v1.QueryPacketCommitmentsResponse'; } /** * 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.ibc.core.channel.v1.QueryPacketReceiptRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ibc.core.channel.v1.QueryPacketReceiptRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ibc.core.channel.v1.QueryPacketReceiptRequest.displayName = 'proto.ibc.core.channel.v1.QueryPacketReceiptRequest'; } /** * 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.ibc.core.channel.v1.QueryPacketReceiptResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ibc.core.channel.v1.QueryPacketReceiptResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ibc.core.channel.v1.QueryPacketReceiptResponse.displayName = 'proto.ibc.core.channel.v1.QueryPacketReceiptResponse'; } /** * 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.ibc.core.channel.v1.QueryPacketAcknowledgementRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ibc.core.channel.v1.QueryPacketAcknowledgementRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ibc.core.channel.v1.QueryPacketAcknowledgementRequest.displayName = 'proto.ibc.core.channel.v1.QueryPacketAcknowledgementRequest'; } /** * 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.ibc.core.channel.v1.QueryPacketAcknowledgementResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ibc.core.channel.v1.QueryPacketAcknowledgementResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ibc.core.channel.v1.QueryPacketAcknowledgementResponse.displayName = 'proto.ibc.core.channel.v1.QueryPacketAcknowledgementResponse'; } /** * 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.ibc.core.channel.v1.QueryPacketAcknowledgementsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ibc.core.channel.v1.QueryPacketAcknowledgementsRequest.repeatedFields_, null); }; goog.inherits(proto.ibc.core.channel.v1.QueryPacketAcknowledgementsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ibc.core.channel.v1.QueryPacketAcknowledgementsRequest.displayName = 'proto.ibc.core.channel.v1.QueryPacketAcknowledgementsRequest'; } /** * 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.ibc.core.channel.v1.QueryPacketAcknowledgementsResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ibc.core.channel.v1.QueryPacketAcknowledgementsResponse.repeatedFields_, null); }; goog.inherits(proto.ibc.core.channel.v1.QueryPacketAcknowledgementsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ibc.core.channel.v1.QueryPacketAcknowledgementsResponse.displayName = 'proto.ibc.core.channel.v1.QueryPacketAcknowledgementsResponse'; } /** * 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.ibc.core.channel.v1.QueryUnreceivedPacketsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ibc.core.channel.v1.QueryUnreceivedPacketsRequest.repeatedFields_, null); }; goog.inherits(proto.ibc.core.channel.v1.QueryUnreceivedPacketsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ibc.core.channel.v1.QueryUnreceivedPacketsRequest.displayName = 'proto.ibc.core.channel.v1.QueryUnreceivedPacketsRequest'; } /** * 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.ibc.core.channel.v1.QueryUnreceivedPacketsResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ibc.core.channel.v1.QueryUnreceivedPacketsResponse.repeatedFields_, null); }; goog.inherits(proto.ibc.core.channel.v1.QueryUnreceivedPacketsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ibc.core.channel.v1.QueryUnreceivedPacketsResponse.displayName = 'proto.ibc.core.channel.v1.QueryUnreceivedPacketsResponse'; } /** * 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.ibc.core.channel.v1.QueryUnreceivedAcksRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ibc.core.channel.v1.QueryUnreceivedAcksRequest.repeatedFields_, null); }; goog.inherits(proto.ibc.core.channel.v1.QueryUnreceivedAcksRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ibc.core.channel.v1.QueryUnreceivedAcksRequest.displayName = 'proto.ibc.core.channel.v1.QueryUnreceivedAcksRequest'; } /** * 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.ibc.core.channel.v1.QueryUnreceivedAcksResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ibc.core.channel.v1.QueryUnreceivedAcksResponse.repeatedFields_, null); }; goog.inherits(proto.ibc.core.channel.v1.QueryUnreceivedAcksResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ibc.core.channel.v1.QueryUnreceivedAcksResponse.displayName = 'proto.ibc.core.channel.v1.QueryUnreceivedAcksResponse'; } /** * 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.ibc.core.channel.v1.QueryNextSequenceReceiveRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ibc.core.channel.v1.QueryNextSequenceReceiveRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ibc.core.channel.v1.QueryNextSequenceReceiveRequest.displayName = 'proto.ibc.core.channel.v1.QueryNextSequenceReceiveRequest'; } /** * 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.ibc.core.channel.v1.QueryNextSequenceReceiveResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ibc.core.channel.v1.QueryNextSequenceReceiveResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ibc.core.channel.v1.QueryNextSequenceReceiveResponse.displayName = 'proto.ibc.core.channel.v1.QueryNextSequenceReceiveResponse'; } 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.ibc.core.channel.v1.QueryChannelRequest.prototype.toObject = function(opt_includeInstance) { return proto.ibc.core.channel.v1.QueryChannelRequest.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.ibc.core.channel.v1.QueryChannelRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ibc.core.channel.v1.QueryChannelRequest.toObject = function(includeInstance, msg) { var f, obj = { portId: jspb.Message.getFieldWithDefault(msg, 1, ""), channelId: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ibc.core.channel.v1.QueryChannelRequest} */ proto.ibc.core.channel.v1.QueryChannelRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ibc.core.channel.v1.QueryChannelRequest; return proto.ibc.core.channel.v1.QueryChannelRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ibc.core.channel.v1.QueryChannelRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ibc.core.channel.v1.QueryChannelRequest} */ proto.ibc.core.channel.v1.QueryChannelRequest.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.setPortId(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setChannelId(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ibc.core.channel.v1.QueryChannelRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ibc.core.channel.v1.QueryChannelRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ibc.core.channel.v1.QueryChannelRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ibc.core.channel.v1.QueryChannelRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPortId(); if (f.length > 0) { writer.writeString( 1, f ); } f = message.getChannelId(); if (f.length > 0) { writer.writeString( 2, f ); } }; /** * optional string port_id = 1; * @return {string} */ proto.ibc.core.channel.v1.QueryChannelRequest.prototype.getPortId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.ibc.core.channel.v1.QueryChannelRequest} returns this */ proto.ibc.core.channel.v1.QueryChannelRequest.prototype.setPortId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** * optional string channel_id = 2; * @return {string} */ proto.ibc.core.channel.v1.QueryChannelRequest.prototype.getChannelId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.ibc.core.channel.v1.QueryChannelRequest} returns this */ proto.ibc.core.channel.v1.QueryChannelRequest.prototype.setChannelId = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ibc.core.channel.v1.QueryChannelResponse.prototype.toObject = function(opt_includeInstance) { return proto.ibc.core.channel.v1.QueryChannelResponse.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.ibc.core.channel.v1.QueryChannelResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ibc.core.channel.v1.QueryChannelResponse.toObject = function(includeInstance, msg) { var f, obj = { channel: (f = msg.getChannel()) && ibc_core_channel_v1_channel_pb.Channel.toObject(includeInstance, f), proof: msg.getProof_asB64(), proofHeight: (f = msg.getProofHeight()) && ibc_core_client_v1_client_pb.Height.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.ibc.core.channel.v1.QueryChannelResponse} */ proto.ibc.core.channel.v1.QueryChannelResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ibc.core.channel.v1.QueryChannelResponse; return proto.ibc.core.channel.v1.QueryChannelResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ibc.core.channel.v1.QueryChannelResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ibc.core.channel.v1.QueryChannelResponse} */ proto.ibc.core.channel.v1.QueryChannelResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new ibc_core_channel_v1_channel_pb.Channel; reader.readMessage(value,ibc_core_channel_v1_channel_pb.Channel.deserializeBinaryFromReader); msg.setChannel(value); break; case 2: var value = /** @type {!Uint8Array} */ (reader.readBytes()); msg.setProof(value); break; case 3: var value = new ibc_core_client_v1_client_pb.Height; reader.readMessage(value,ibc_core_client_v1_client_pb.Height.deserializeBinaryFromReader); msg.setProofHeight(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ibc.core.channel.v1.QueryChannelResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ibc.core.channel.v1.QueryChannelResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ibc.core.channel.v1.QueryChannelResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ibc.core.channel.v1.QueryChannelResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getChannel(); if (f != null) { writer.writeMessage( 1, f, ibc_core_channel_v1_channel_pb.Channel.serializeBinaryToWriter ); } f = message.getProof_asU8(); if (f.length > 0) { writer.writeBytes( 2, f ); } f = message.getProofHeight(); if (f != null) { writer.writeMessage( 3, f, ibc_core_client_v1_client_pb.Height.serializeBinaryToWriter ); } }; /** * optional Channel channel = 1; * @return {?proto.ibc.core.channel.v1.Channel} */ proto.ibc.core.channel.v1.QueryChannelResponse.prototype.getChannel = function() { return /** @type{?proto.ibc.core.channel.v1.Channel} */ ( jspb.Message.getWrapperField(this, ibc_core_channel_v1_channel_pb.Channel, 1)); }; /** * @param {?proto.ibc.core.channel.v1.Channel|undefined} value * @return {!proto.ibc.core.channel.v1.QueryChannelResponse} returns this */ proto.ibc.core.channel.v1.QueryChannelResponse.prototype.setChannel = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.ibc.core.channel.v1.QueryChannelResponse} returns this */ proto.ibc.core.channel.v1.QueryChannelResponse.prototype.clearChannel = function() { return this.setChannel(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ibc.core.channel.v1.QueryChannelResponse.prototype.hasChannel = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional bytes proof = 2; * @return {!(string|Uint8Array)} */ proto.ibc.core.channel.v1.QueryChannelResponse.prototype.getProof = function() { return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * optional bytes proof = 2; * This is a type-conversion wrapper around `getProof()` * @return {string} */ proto.ibc.core.channel.v1.QueryChannelResponse.prototype.getProof_asB64 = function() { return /** @type {string} */ (jspb.Message.bytesAsB64( this.getProof())); }; /** * optional bytes proof = 2; * Note that Uint8Array is not supported on all browsers. * @see http://caniuse.com/Uint8Array * This is a type-conversion wrapper around `getProof()` * @return {!Uint8Array} */ proto.ibc.core.channel.v1.QueryChannelResponse.prototype.getProof_asU8 = function() { return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( this.getProof())); }; /** * @param {!(string|Uint8Array)} value * @return {!proto.ibc.core.channel.v1.QueryChannelResponse} returns this */ proto.ibc.core.channel.v1.QueryChannelResponse.prototype.setProof = function(value) { return jspb.Message.setProto3BytesField(this, 2, value); }; /** * optional ibc.core.client.v1.Height proof_height = 3; * @return {?proto.ibc.core.client.v1.Height} */ proto.ibc.core.channel.v1.QueryChannelResponse.prototype.getProofHeight = function() { return /** @type{?proto.ibc.core.client.v1.Height} */ ( jspb.Message.getWrapperField(this, ibc_core_client_v1_client_pb.Height, 3)); }; /** * @param {?proto.ibc.core.client.v1.Height|undefined} value * @return {!proto.ibc.core.channel.v1.QueryChannelResponse} returns this */ proto.ibc.core.channel.v1.QueryChannelResponse.prototype.setProofHeight = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. * @return {!proto.ibc.core.channel.v1.QueryChannelResponse} returns this */ proto.ibc.core.channel.v1.QueryChannelResponse.prototype.clearProofHeight = function() { return this.setProofHeight(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ibc.core.channel.v1.QueryChannelResponse.prototype.hasProofHeight = 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.ibc.core.channel.v1.QueryChannelsRequest.prototype.toObject = function(opt_includeInstance) { return proto.ibc.core.channel.v1.QueryChannelsRequest.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.ibc.core.channel.v1.QueryChannelsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ibc.core.channel.v1.QueryChannelsRequest.toObject = function(includeInstance, msg) { var f, obj = { pagination: (f = msg.getPagination()) && cosmos_base_query_v1beta1_pagination_pb.PageRequest.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.ibc.core.channel.v1.QueryChannelsRequest} */ proto.ibc.core.channel.v1.QueryChannelsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ibc.core.channel.v1.QueryChannelsRequest; return proto.ibc.core.channel.v1.QueryChannelsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ibc.core.channel.v1.QueryChannelsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ibc.core.channel.v1.QueryChannelsRequest} */ proto.ibc.core.channel.v1.QueryChannelsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new cosmos_base_query_v1beta1_pagination_pb.PageRequest; reader.readMessage(value,cosmos_base_query_v1beta1_pagination_pb.PageRequest.deserializeBinaryFromReader); msg.setPagination(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ibc.core.channel.v1.QueryChannelsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ibc.core.channel.v1.QueryChannelsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ibc.core.channel.v1.QueryChannelsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ibc.core.channel.v1.QueryChannelsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPagination(); if (f != null) { writer.writeMessage( 1, f, cosmos_base_query_v1beta1_pagination_pb.PageRequest.serializeBinaryToWriter ); } }; /** * optional cosmos.base.query.v1beta1.PageRequest pagination = 1; * @return {?proto.cosmos.base.query.v1beta1.PageRequest} */ proto.ibc.core.channel.v1.QueryChannelsRequest.prototype.getPagination = function() { return /** @type{?proto.cosmos.base.query.v1beta1.PageRequest} */ ( jspb.Message.getWrapperField(this, cosmos_base_query_v1beta1_pagination_pb.PageRequest, 1)); }; /** * @param {?proto.cosmos.base.query.v1beta1.PageRequest|undefined} value * @return {!proto.ibc.core.channel.v1.QueryChannelsRequest} returns this */ proto.ibc.core.channel.v1.QueryChannelsRequest.prototype.setPagination = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.ibc.core.channel.v1.QueryChannelsRequest} returns this */ proto.ibc.core.channel.v1.QueryChannelsRequest.prototype.clearPagination = function() { return this.setPagination(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ibc.core.channel.v1.QueryChannelsRequest.prototype.hasPagination = function() { return jspb.Message.getField(this, 1) != null; }; /** * List of repeated fields within this message type. * @private {!Array<number>} * @const */ proto.ibc.core.channel.v1.QueryChannelsResponse.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.ibc.core.channel.v1.QueryChannelsResponse.prototype.toObject = function(opt_includeInstance) { return proto.ibc.core.channel.v1.QueryChannelsResponse.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.ibc.core.channel.v1.QueryChannelsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ibc.core.channel.v1.QueryChannelsResponse.toObject = function(includeInstance, msg) { var f, obj = { channelsList: jspb.Message.toObjectList(msg.getChannelsList(), ibc_core_channel_v1_channel_pb.IdentifiedChannel.toObject, includeInstance), pagination: (f = msg.getPagination()) && cosmos_base_query_v1beta1_pagination_pb.PageResponse.toObject(includeInstance, f), height: (f = msg.getHeight()) && ibc_core_client_v1_client_pb.Height.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.ibc.core.channel.v1.QueryChannelsResponse} */ proto.ibc.core.channel.v1.QueryChannelsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ibc.core.channel.v1.QueryChannelsResponse; return proto.ibc.core.channel.v1.QueryChannelsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ibc.core.channel.v1.QueryChannelsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ibc.core.channel.v1.QueryChannelsResponse} */ proto.ibc.core.channel.v1.QueryChannelsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new ibc_core_channel_v1_channel_pb.IdentifiedChannel; reader.readMessage(value,ibc_core_channel_v1_channel_pb.IdentifiedChannel.deserializeBinaryFromReader); msg.addChannels(value); break; case 2: var value = new cosmos_base_query_v1beta1_pagination_pb.PageResponse; reader.readMessage(value,cosmos_base_query_v1beta1_pagination_pb.PageResponse.deserializeBinaryFromReader); msg.setPagination(value); break; case 3: var value = new ibc_core_client_v1_client_pb.Height; reader.readMessage(value,ibc_core_client_v1_client_pb.Height.deserializeBinaryFromReader); msg.setHeight(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ibc.core.channel.v1.QueryChannelsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ibc.core.channel.v1.QueryChannelsResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ibc.core.channel.v1.QueryChannelsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ibc.core.channel.v1.QueryChannelsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getChannelsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, ibc_core_channel_v1_channel_pb.IdentifiedChannel.serializeBinaryToWriter ); } f = message.getPagination(); if (f != null) { writer.writeMessage( 2, f, cosmos_base_query_v1beta1_pagination_pb.PageResponse.serializeBinaryToWriter ); } f = message.getHeight(); if (f != null) { writer.writeMessage( 3, f, ibc_core_client_v1_client_pb.Height.serializeBinaryToWriter ); } }; /** * repeated IdentifiedChannel channels = 1; * @return {!Array<!proto.ibc.core.channel.v1.IdentifiedChannel>} */ proto.ibc.core.channel.v1.QueryChannelsResponse.prototype.getChannelsList = function() { return /** @type{!Array<!proto.ibc.core.channel.v1.IdentifiedChannel>} */ ( jspb.Message.getRepeatedWrapperField(this, ibc_core_channel_v1_channel_pb.IdentifiedChannel, 1)); }; /** * @param {!Array<!proto.ibc.core.channel.v1.IdentifiedChannel>} value * @return {!proto.ibc.core.channel.v1.QueryChannelsResponse} returns this */ proto.ibc.core.channel.v1.QueryChannelsResponse.prototype.setChannelsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** * @param {!proto.ibc.core.channel.v1.IdentifiedChannel=} opt_value * @param {number=} opt_index * @return {!proto.ibc.core.channel.v1.IdentifiedChannel} */ proto.ibc.core.channel.v1.QueryChannelsResponse.prototype.addChannels = function(opt_value, opt_i