@routerprotocol/chain-api
Version:
Router Chain API Query client with generated gRPC bindings.
1,258 lines (1,120 loc) • 123 kB
JavaScript
// source: routerprotocol/routerchain/metastore/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 gogoproto_gogo_pb = require('../../../gogoproto/gogo_pb.js');
goog.object.extend(proto, gogoproto_gogo_pb);
var google_api_annotations_pb = require('../../../google/api/annotations_pb.js');
goog.object.extend(proto, google_api_annotations_pb);
var cosmos_base_query_v1beta1_pagination_pb = require('../../../cosmos/base/query/v1beta1/pagination_pb.js');
goog.object.extend(proto, cosmos_base_query_v1beta1_pagination_pb);
var routerprotocol_routerchain_metastore_params_pb = require('../../../routerprotocol/routerchain/metastore/params_pb.js');
goog.object.extend(proto, routerprotocol_routerchain_metastore_params_pb);
var routerprotocol_routerchain_metastore_meta_info_pb = require('../../../routerprotocol/routerchain/metastore/meta_info_pb.js');
goog.object.extend(proto, routerprotocol_routerchain_metastore_meta_info_pb);
var routerprotocol_routerchain_metastore_metadata_request_pb = require('../../../routerprotocol/routerchain/metastore/metadata_request_pb.js');
goog.object.extend(proto, routerprotocol_routerchain_metastore_metadata_request_pb);
goog.exportSymbol('proto.routerprotocol.routerchain.metastore.MetaInfoQueryStatus', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequest', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByAddress', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainID', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponse', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponseByAddress', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponseByChainAndAddress', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponseByChainID', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.metastore.QueryAllMetadataRequestRequest', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.metastore.QueryAllMetadataRequestResponse', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoRequest', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoResponse', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.metastore.QueryGetMetadataRequestRequest', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.metastore.QueryGetMetadataRequestResponse', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.metastore.QueryParamsRequest', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.metastore.QueryParamsResponse', 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.routerprotocol.routerchain.metastore.QueryParamsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.routerprotocol.routerchain.metastore.QueryParamsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.metastore.QueryParamsRequest.displayName = 'proto.routerprotocol.routerchain.metastore.QueryParamsRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.routerprotocol.routerchain.metastore.QueryParamsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.routerprotocol.routerchain.metastore.QueryParamsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.metastore.QueryParamsResponse.displayName = 'proto.routerprotocol.routerchain.metastore.QueryParamsResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoRequest.displayName = 'proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoRequest';
}
/**
* 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.routerprotocol.routerchain.metastore.QueryGetMetaInfoResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoResponse.displayName = 'proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoResponse';
}
/**
* 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.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress.displayName = 'proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress';
}
/**
* 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.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponseByChainAndAddress = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponseByChainAndAddress.repeatedFields_, null);
};
goog.inherits(proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponseByChainAndAddress, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponseByChainAndAddress.displayName = 'proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponseByChainAndAddress';
}
/**
* 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.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequest.displayName = 'proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequest';
}
/**
* 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.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponse.repeatedFields_, null);
};
goog.inherits(proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponse.displayName = 'proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponse';
}
/**
* 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.routerprotocol.routerchain.metastore.QueryGetMetadataRequestRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.routerprotocol.routerchain.metastore.QueryGetMetadataRequestRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.metastore.QueryGetMetadataRequestRequest.displayName = 'proto.routerprotocol.routerchain.metastore.QueryGetMetadataRequestRequest';
}
/**
* 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.routerprotocol.routerchain.metastore.QueryGetMetadataRequestResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.routerprotocol.routerchain.metastore.QueryGetMetadataRequestResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.metastore.QueryGetMetadataRequestResponse.displayName = 'proto.routerprotocol.routerchain.metastore.QueryGetMetadataRequestResponse';
}
/**
* 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.routerprotocol.routerchain.metastore.QueryAllMetadataRequestRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.routerprotocol.routerchain.metastore.QueryAllMetadataRequestRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.metastore.QueryAllMetadataRequestRequest.displayName = 'proto.routerprotocol.routerchain.metastore.QueryAllMetadataRequestRequest';
}
/**
* 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.routerprotocol.routerchain.metastore.QueryAllMetadataRequestResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.routerprotocol.routerchain.metastore.QueryAllMetadataRequestResponse.repeatedFields_, null);
};
goog.inherits(proto.routerprotocol.routerchain.metastore.QueryAllMetadataRequestResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.metastore.QueryAllMetadataRequestResponse.displayName = 'proto.routerprotocol.routerchain.metastore.QueryAllMetadataRequestResponse';
}
/**
* 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.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByAddress = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByAddress, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByAddress.displayName = 'proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByAddress';
}
/**
* 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.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponseByAddress = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponseByAddress.repeatedFields_, null);
};
goog.inherits(proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponseByAddress, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponseByAddress.displayName = 'proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponseByAddress';
}
/**
* 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.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainID = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainID, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainID.displayName = 'proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainID';
}
/**
* 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.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponseByChainID = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponseByChainID.repeatedFields_, null);
};
goog.inherits(proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponseByChainID, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponseByChainID.displayName = 'proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponseByChainID';
}
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.routerprotocol.routerchain.metastore.QueryParamsRequest.prototype.toObject = function(opt_includeInstance) {
return proto.routerprotocol.routerchain.metastore.QueryParamsRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.routerprotocol.routerchain.metastore.QueryParamsRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.routerprotocol.routerchain.metastore.QueryParamsRequest.toObject = function(includeInstance, msg) {
var f, obj = {
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.routerprotocol.routerchain.metastore.QueryParamsRequest}
*/
proto.routerprotocol.routerchain.metastore.QueryParamsRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.routerprotocol.routerchain.metastore.QueryParamsRequest;
return proto.routerprotocol.routerchain.metastore.QueryParamsRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.routerprotocol.routerchain.metastore.QueryParamsRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.routerprotocol.routerchain.metastore.QueryParamsRequest}
*/
proto.routerprotocol.routerchain.metastore.QueryParamsRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.routerprotocol.routerchain.metastore.QueryParamsRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.routerprotocol.routerchain.metastore.QueryParamsRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.routerprotocol.routerchain.metastore.QueryParamsRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.routerprotocol.routerchain.metastore.QueryParamsRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.routerprotocol.routerchain.metastore.QueryParamsResponse.prototype.toObject = function(opt_includeInstance) {
return proto.routerprotocol.routerchain.metastore.QueryParamsResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.routerprotocol.routerchain.metastore.QueryParamsResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.routerprotocol.routerchain.metastore.QueryParamsResponse.toObject = function(includeInstance, msg) {
var f, obj = {
params: (f = msg.getParams()) && routerprotocol_routerchain_metastore_params_pb.Params.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.routerprotocol.routerchain.metastore.QueryParamsResponse}
*/
proto.routerprotocol.routerchain.metastore.QueryParamsResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.routerprotocol.routerchain.metastore.QueryParamsResponse;
return proto.routerprotocol.routerchain.metastore.QueryParamsResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.routerprotocol.routerchain.metastore.QueryParamsResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.routerprotocol.routerchain.metastore.QueryParamsResponse}
*/
proto.routerprotocol.routerchain.metastore.QueryParamsResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new routerprotocol_routerchain_metastore_params_pb.Params;
reader.readMessage(value,routerprotocol_routerchain_metastore_params_pb.Params.deserializeBinaryFromReader);
msg.setParams(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.routerprotocol.routerchain.metastore.QueryParamsResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.routerprotocol.routerchain.metastore.QueryParamsResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.routerprotocol.routerchain.metastore.QueryParamsResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.routerprotocol.routerchain.metastore.QueryParamsResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getParams();
if (f != null) {
writer.writeMessage(
1,
f,
routerprotocol_routerchain_metastore_params_pb.Params.serializeBinaryToWriter
);
}
};
/**
* optional Params params = 1;
* @return {?proto.routerprotocol.routerchain.metastore.Params}
*/
proto.routerprotocol.routerchain.metastore.QueryParamsResponse.prototype.getParams = function() {
return /** @type{?proto.routerprotocol.routerchain.metastore.Params} */ (
jspb.Message.getWrapperField(this, routerprotocol_routerchain_metastore_params_pb.Params, 1));
};
/**
* @param {?proto.routerprotocol.routerchain.metastore.Params|undefined} value
* @return {!proto.routerprotocol.routerchain.metastore.QueryParamsResponse} returns this
*/
proto.routerprotocol.routerchain.metastore.QueryParamsResponse.prototype.setParams = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.routerprotocol.routerchain.metastore.QueryParamsResponse} returns this
*/
proto.routerprotocol.routerchain.metastore.QueryParamsResponse.prototype.clearParams = function() {
return this.setParams(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.routerprotocol.routerchain.metastore.QueryParamsResponse.prototype.hasParams = function() {
return jspb.Message.getField(this, 1) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoRequest.prototype.toObject = function(opt_includeInstance) {
return proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoRequest.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.routerprotocol.routerchain.metastore.QueryGetMetaInfoRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoRequest.toObject = function(includeInstance, msg) {
var f, obj = {
chainId: jspb.Message.getFieldWithDefault(msg, 1, ""),
address: 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.routerprotocol.routerchain.metastore.QueryGetMetaInfoRequest}
*/
proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoRequest;
return proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoRequest}
*/
proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoRequest.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.setChainId(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setAddress(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getChainId();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getAddress();
if (f.length > 0) {
writer.writeString(
2,
f
);
}
};
/**
* optional string chain_id = 1;
* @return {string}
*/
proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoRequest.prototype.getChainId = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoRequest} returns this
*/
proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoRequest.prototype.setChainId = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional string address = 2;
* @return {string}
*/
proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoRequest.prototype.getAddress = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoRequest} returns this
*/
proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoRequest.prototype.setAddress = 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.routerprotocol.routerchain.metastore.QueryGetMetaInfoResponse.prototype.toObject = function(opt_includeInstance) {
return proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoResponse.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.routerprotocol.routerchain.metastore.QueryGetMetaInfoResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoResponse.toObject = function(includeInstance, msg) {
var f, obj = {
metainfo: (f = msg.getMetainfo()) && routerprotocol_routerchain_metastore_meta_info_pb.MetaInfo.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.routerprotocol.routerchain.metastore.QueryGetMetaInfoResponse}
*/
proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoResponse;
return proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoResponse}
*/
proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new routerprotocol_routerchain_metastore_meta_info_pb.MetaInfo;
reader.readMessage(value,routerprotocol_routerchain_metastore_meta_info_pb.MetaInfo.deserializeBinaryFromReader);
msg.setMetainfo(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getMetainfo();
if (f != null) {
writer.writeMessage(
1,
f,
routerprotocol_routerchain_metastore_meta_info_pb.MetaInfo.serializeBinaryToWriter
);
}
};
/**
* optional MetaInfo metaInfo = 1;
* @return {?proto.routerprotocol.routerchain.metastore.MetaInfo}
*/
proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoResponse.prototype.getMetainfo = function() {
return /** @type{?proto.routerprotocol.routerchain.metastore.MetaInfo} */ (
jspb.Message.getWrapperField(this, routerprotocol_routerchain_metastore_meta_info_pb.MetaInfo, 1));
};
/**
* @param {?proto.routerprotocol.routerchain.metastore.MetaInfo|undefined} value
* @return {!proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoResponse} returns this
*/
proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoResponse.prototype.setMetainfo = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoResponse} returns this
*/
proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoResponse.prototype.clearMetainfo = function() {
return this.setMetainfo(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.routerprotocol.routerchain.metastore.QueryGetMetaInfoResponse.prototype.hasMetainfo = function() {
return jspb.Message.getField(this, 1) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress.prototype.toObject = function(opt_includeInstance) {
return proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress.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.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress.toObject = function(includeInstance, msg) {
var f, obj = {
chainIds: jspb.Message.getFieldWithDefault(msg, 1, ""),
address: jspb.Message.getFieldWithDefault(msg, 2, ""),
status: jspb.Message.getFieldWithDefault(msg, 3, 0),
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.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress}
*/
proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress;
return proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress}
*/
proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress.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.setChainIds(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setAddress(value);
break;
case 3:
var value = /** @type {!proto.routerprotocol.routerchain.metastore.MetaInfoQueryStatus} */ (reader.readEnum());
msg.setStatus(value);
break;
case 4:
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.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getChainIds();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getAddress();
if (f.length > 0) {
writer.writeString(
2,
f
);
}
f = message.getStatus();
if (f !== 0.0) {
writer.writeEnum(
3,
f
);
}
f = message.getPagination();
if (f != null) {
writer.writeMessage(
4,
f,
cosmos_base_query_v1beta1_pagination_pb.PageRequest.serializeBinaryToWriter
);
}
};
/**
* optional string chain_ids = 1;
* @return {string}
*/
proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress.prototype.getChainIds = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress} returns this
*/
proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress.prototype.setChainIds = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional string address = 2;
* @return {string}
*/
proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress.prototype.getAddress = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress} returns this
*/
proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress.prototype.setAddress = function(value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
/**
* optional MetaInfoQueryStatus status = 3;
* @return {!proto.routerprotocol.routerchain.metastore.MetaInfoQueryStatus}
*/
proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress.prototype.getStatus = function() {
return /** @type {!proto.routerprotocol.routerchain.metastore.MetaInfoQueryStatus} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};
/**
* @param {!proto.routerprotocol.routerchain.metastore.MetaInfoQueryStatus} value
* @return {!proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress} returns this
*/
proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress.prototype.setStatus = function(value) {
return jspb.Message.setProto3EnumField(this, 3, value);
};
/**
* optional cosmos.base.query.v1beta1.PageRequest pagination = 4;
* @return {?proto.cosmos.base.query.v1beta1.PageRequest}
*/
proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress.prototype.getPagination = function() {
return /** @type{?proto.cosmos.base.query.v1beta1.PageRequest} */ (
jspb.Message.getWrapperField(this, cosmos_base_query_v1beta1_pagination_pb.PageRequest, 4));
};
/**
* @param {?proto.cosmos.base.query.v1beta1.PageRequest|undefined} value
* @return {!proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress} returns this
*/
proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress.prototype.setPagination = function(value) {
return jspb.Message.setWrapperField(this, 4, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress} returns this
*/
proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress.prototype.clearPagination = function() {
return this.setPagination(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoRequestByChainAndAddress.prototype.hasPagination = function() {
return jspb.Message.getField(this, 4) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponseByChainAndAddress.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.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponseByChainAndAddress.prototype.toObject = function(opt_includeInstance) {
return proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponseByChainAndAddress.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.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponseByChainAndAddress} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponseByChainAndAddress.toObject = function(includeInstance, msg) {
var f, obj = {
metainfoList: jspb.Message.toObjectList(msg.getMetainfoList(),
routerprotocol_routerchain_metastore_meta_info_pb.MetaInfo.toObject, includeInstance),
pagination: (f = msg.getPagination()) && cosmos_base_query_v1beta1_pagination_pb.PageResponse.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.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponseByChainAndAddress}
*/
proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponseByChainAndAddress.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponseByChainAndAddress;
return proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponseByChainAndAddress.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponseByChainAndAddress} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponseByChainAndAddress}
*/
proto.routerprotocol.routerchain.metastore.QueryAllMetaInfoResponseByChainAndAddress.deserializeBinaryFromR