@routerprotocol/chain-api
Version:
Router Chain API Query client with generated gRPC bindings.
1,239 lines (1,122 loc) • 150 kB
JavaScript
// source: routerprotocol/routerchain/pricefeed/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_pricefeed_params_pb = require('../../../routerprotocol/routerchain/pricefeed/params_pb.js');
goog.object.extend(proto, routerprotocol_routerchain_pricefeed_params_pb);
var routerprotocol_routerchain_pricefeed_price_pb = require('../../../routerprotocol/routerchain/pricefeed/price_pb.js');
goog.object.extend(proto, routerprotocol_routerchain_pricefeed_price_pb);
var routerprotocol_routerchain_pricefeed_symbol_request_pb = require('../../../routerprotocol/routerchain/pricefeed/symbol_request_pb.js');
goog.object.extend(proto, routerprotocol_routerchain_pricefeed_symbol_request_pb);
var routerprotocol_routerchain_pricefeed_price_feeder_info_pb = require('../../../routerprotocol/routerchain/pricefeed/price_feeder_info_pb.js');
goog.object.extend(proto, routerprotocol_routerchain_pricefeed_price_feeder_info_pb);
var routerprotocol_routerchain_pricefeed_gas_price_pb = require('../../../routerprotocol/routerchain/pricefeed/gas_price_pb.js');
goog.object.extend(proto, routerprotocol_routerchain_pricefeed_gas_price_pb);
goog.exportSymbol('proto.routerprotocol.routerchain.pricefeed.QueryAllGasPriceRequest', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.pricefeed.QueryAllGasPriceResponse', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.pricefeed.QueryAllPriceFeederInfoRequest', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.pricefeed.QueryAllPriceFeederInfoResponse', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.pricefeed.QueryAllPriceRequest', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.pricefeed.QueryAllPriceResponse', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.pricefeed.QueryAllSymbolRequestRequest', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.pricefeed.QueryAllSymbolRequestResponse', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.pricefeed.QueryChainNativePriceInfoRequest', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.pricefeed.QueryChainNativePriceInfoResponse', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.pricefeed.QueryGetGasPriceRequest', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.pricefeed.QueryGetGasPriceResponse', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.pricefeed.QueryGetPriceFeederInfoRequest', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.pricefeed.QueryGetPriceFeederInfoResponse', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.pricefeed.QueryGetPriceRequest', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.pricefeed.QueryGetPriceResponse', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.pricefeed.QueryGetSymbolRequestRequest', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.pricefeed.QueryGetSymbolRequestResponse', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.pricefeed.QueryParamsRequest', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.pricefeed.QueryParamsResponse', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.pricefeed.QueryWhitelistedIBCChannelsRequest', null, global);
goog.exportSymbol('proto.routerprotocol.routerchain.pricefeed.QueryWhitelistedIBCChannelsResponse', 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.pricefeed.QueryParamsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.routerprotocol.routerchain.pricefeed.QueryParamsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.pricefeed.QueryParamsRequest.displayName = 'proto.routerprotocol.routerchain.pricefeed.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.pricefeed.QueryParamsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.routerprotocol.routerchain.pricefeed.QueryParamsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.pricefeed.QueryParamsResponse.displayName = 'proto.routerprotocol.routerchain.pricefeed.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.pricefeed.QueryGetPriceRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.routerprotocol.routerchain.pricefeed.QueryGetPriceRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.pricefeed.QueryGetPriceRequest.displayName = 'proto.routerprotocol.routerchain.pricefeed.QueryGetPriceRequest';
}
/**
* 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.pricefeed.QueryGetPriceResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.routerprotocol.routerchain.pricefeed.QueryGetPriceResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.pricefeed.QueryGetPriceResponse.displayName = 'proto.routerprotocol.routerchain.pricefeed.QueryGetPriceResponse';
}
/**
* 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.pricefeed.QueryAllPriceRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.routerprotocol.routerchain.pricefeed.QueryAllPriceRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.pricefeed.QueryAllPriceRequest.displayName = 'proto.routerprotocol.routerchain.pricefeed.QueryAllPriceRequest';
}
/**
* 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.pricefeed.QueryAllPriceResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.routerprotocol.routerchain.pricefeed.QueryAllPriceResponse.repeatedFields_, null);
};
goog.inherits(proto.routerprotocol.routerchain.pricefeed.QueryAllPriceResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.pricefeed.QueryAllPriceResponse.displayName = 'proto.routerprotocol.routerchain.pricefeed.QueryAllPriceResponse';
}
/**
* 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.pricefeed.QueryGetSymbolRequestRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.routerprotocol.routerchain.pricefeed.QueryGetSymbolRequestRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.pricefeed.QueryGetSymbolRequestRequest.displayName = 'proto.routerprotocol.routerchain.pricefeed.QueryGetSymbolRequestRequest';
}
/**
* 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.pricefeed.QueryGetSymbolRequestResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.routerprotocol.routerchain.pricefeed.QueryGetSymbolRequestResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.pricefeed.QueryGetSymbolRequestResponse.displayName = 'proto.routerprotocol.routerchain.pricefeed.QueryGetSymbolRequestResponse';
}
/**
* 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.pricefeed.QueryAllSymbolRequestRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.routerprotocol.routerchain.pricefeed.QueryAllSymbolRequestRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.pricefeed.QueryAllSymbolRequestRequest.displayName = 'proto.routerprotocol.routerchain.pricefeed.QueryAllSymbolRequestRequest';
}
/**
* 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.pricefeed.QueryAllSymbolRequestResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.routerprotocol.routerchain.pricefeed.QueryAllSymbolRequestResponse.repeatedFields_, null);
};
goog.inherits(proto.routerprotocol.routerchain.pricefeed.QueryAllSymbolRequestResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.pricefeed.QueryAllSymbolRequestResponse.displayName = 'proto.routerprotocol.routerchain.pricefeed.QueryAllSymbolRequestResponse';
}
/**
* 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.pricefeed.QueryGetPriceFeederInfoRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.routerprotocol.routerchain.pricefeed.QueryGetPriceFeederInfoRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.pricefeed.QueryGetPriceFeederInfoRequest.displayName = 'proto.routerprotocol.routerchain.pricefeed.QueryGetPriceFeederInfoRequest';
}
/**
* 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.pricefeed.QueryGetPriceFeederInfoResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.routerprotocol.routerchain.pricefeed.QueryGetPriceFeederInfoResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.pricefeed.QueryGetPriceFeederInfoResponse.displayName = 'proto.routerprotocol.routerchain.pricefeed.QueryGetPriceFeederInfoResponse';
}
/**
* 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.pricefeed.QueryAllPriceFeederInfoRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.routerprotocol.routerchain.pricefeed.QueryAllPriceFeederInfoRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.pricefeed.QueryAllPriceFeederInfoRequest.displayName = 'proto.routerprotocol.routerchain.pricefeed.QueryAllPriceFeederInfoRequest';
}
/**
* 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.pricefeed.QueryAllPriceFeederInfoResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.routerprotocol.routerchain.pricefeed.QueryAllPriceFeederInfoResponse.repeatedFields_, null);
};
goog.inherits(proto.routerprotocol.routerchain.pricefeed.QueryAllPriceFeederInfoResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.pricefeed.QueryAllPriceFeederInfoResponse.displayName = 'proto.routerprotocol.routerchain.pricefeed.QueryAllPriceFeederInfoResponse';
}
/**
* 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.pricefeed.QueryGetGasPriceRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.routerprotocol.routerchain.pricefeed.QueryGetGasPriceRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.pricefeed.QueryGetGasPriceRequest.displayName = 'proto.routerprotocol.routerchain.pricefeed.QueryGetGasPriceRequest';
}
/**
* 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.pricefeed.QueryGetGasPriceResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.routerprotocol.routerchain.pricefeed.QueryGetGasPriceResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.pricefeed.QueryGetGasPriceResponse.displayName = 'proto.routerprotocol.routerchain.pricefeed.QueryGetGasPriceResponse';
}
/**
* 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.pricefeed.QueryAllGasPriceRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.routerprotocol.routerchain.pricefeed.QueryAllGasPriceRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.pricefeed.QueryAllGasPriceRequest.displayName = 'proto.routerprotocol.routerchain.pricefeed.QueryAllGasPriceRequest';
}
/**
* 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.pricefeed.QueryAllGasPriceResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.routerprotocol.routerchain.pricefeed.QueryAllGasPriceResponse.repeatedFields_, null);
};
goog.inherits(proto.routerprotocol.routerchain.pricefeed.QueryAllGasPriceResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.pricefeed.QueryAllGasPriceResponse.displayName = 'proto.routerprotocol.routerchain.pricefeed.QueryAllGasPriceResponse';
}
/**
* 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.pricefeed.QueryWhitelistedIBCChannelsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.routerprotocol.routerchain.pricefeed.QueryWhitelistedIBCChannelsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.pricefeed.QueryWhitelistedIBCChannelsRequest.displayName = 'proto.routerprotocol.routerchain.pricefeed.QueryWhitelistedIBCChannelsRequest';
}
/**
* 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.pricefeed.QueryWhitelistedIBCChannelsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.routerprotocol.routerchain.pricefeed.QueryWhitelistedIBCChannelsResponse.repeatedFields_, null);
};
goog.inherits(proto.routerprotocol.routerchain.pricefeed.QueryWhitelistedIBCChannelsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.pricefeed.QueryWhitelistedIBCChannelsResponse.displayName = 'proto.routerprotocol.routerchain.pricefeed.QueryWhitelistedIBCChannelsResponse';
}
/**
* 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.pricefeed.QueryChainNativePriceInfoRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.routerprotocol.routerchain.pricefeed.QueryChainNativePriceInfoRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.pricefeed.QueryChainNativePriceInfoRequest.displayName = 'proto.routerprotocol.routerchain.pricefeed.QueryChainNativePriceInfoRequest';
}
/**
* 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.pricefeed.QueryChainNativePriceInfoResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.routerprotocol.routerchain.pricefeed.QueryChainNativePriceInfoResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.routerprotocol.routerchain.pricefeed.QueryChainNativePriceInfoResponse.displayName = 'proto.routerprotocol.routerchain.pricefeed.QueryChainNativePriceInfoResponse';
}
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.pricefeed.QueryParamsRequest.prototype.toObject = function(opt_includeInstance) {
return proto.routerprotocol.routerchain.pricefeed.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.pricefeed.QueryParamsRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.routerprotocol.routerchain.pricefeed.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.pricefeed.QueryParamsRequest}
*/
proto.routerprotocol.routerchain.pricefeed.QueryParamsRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.routerprotocol.routerchain.pricefeed.QueryParamsRequest;
return proto.routerprotocol.routerchain.pricefeed.QueryParamsRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.routerprotocol.routerchain.pricefeed.QueryParamsRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.routerprotocol.routerchain.pricefeed.QueryParamsRequest}
*/
proto.routerprotocol.routerchain.pricefeed.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.pricefeed.QueryParamsRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.routerprotocol.routerchain.pricefeed.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.pricefeed.QueryParamsRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.routerprotocol.routerchain.pricefeed.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.pricefeed.QueryParamsResponse.prototype.toObject = function(opt_includeInstance) {
return proto.routerprotocol.routerchain.pricefeed.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.pricefeed.QueryParamsResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.routerprotocol.routerchain.pricefeed.QueryParamsResponse.toObject = function(includeInstance, msg) {
var f, obj = {
params: (f = msg.getParams()) && routerprotocol_routerchain_pricefeed_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.pricefeed.QueryParamsResponse}
*/
proto.routerprotocol.routerchain.pricefeed.QueryParamsResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.routerprotocol.routerchain.pricefeed.QueryParamsResponse;
return proto.routerprotocol.routerchain.pricefeed.QueryParamsResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.routerprotocol.routerchain.pricefeed.QueryParamsResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.routerprotocol.routerchain.pricefeed.QueryParamsResponse}
*/
proto.routerprotocol.routerchain.pricefeed.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_pricefeed_params_pb.Params;
reader.readMessage(value,routerprotocol_routerchain_pricefeed_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.pricefeed.QueryParamsResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.routerprotocol.routerchain.pricefeed.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.pricefeed.QueryParamsResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.routerprotocol.routerchain.pricefeed.QueryParamsResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getParams();
if (f != null) {
writer.writeMessage(
1,
f,
routerprotocol_routerchain_pricefeed_params_pb.Params.serializeBinaryToWriter
);
}
};
/**
* optional Params params = 1;
* @return {?proto.routerprotocol.routerchain.pricefeed.Params}
*/
proto.routerprotocol.routerchain.pricefeed.QueryParamsResponse.prototype.getParams = function() {
return /** @type{?proto.routerprotocol.routerchain.pricefeed.Params} */ (
jspb.Message.getWrapperField(this, routerprotocol_routerchain_pricefeed_params_pb.Params, 1));
};
/**
* @param {?proto.routerprotocol.routerchain.pricefeed.Params|undefined} value
* @return {!proto.routerprotocol.routerchain.pricefeed.QueryParamsResponse} returns this
*/
proto.routerprotocol.routerchain.pricefeed.QueryParamsResponse.prototype.setParams = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.routerprotocol.routerchain.pricefeed.QueryParamsResponse} returns this
*/
proto.routerprotocol.routerchain.pricefeed.QueryParamsResponse.prototype.clearParams = function() {
return this.setParams(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.routerprotocol.routerchain.pricefeed.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.pricefeed.QueryGetPriceRequest.prototype.toObject = function(opt_includeInstance) {
return proto.routerprotocol.routerchain.pricefeed.QueryGetPriceRequest.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.pricefeed.QueryGetPriceRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.routerprotocol.routerchain.pricefeed.QueryGetPriceRequest.toObject = function(includeInstance, msg) {
var f, obj = {
symbol: jspb.Message.getFieldWithDefault(msg, 1, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.routerprotocol.routerchain.pricefeed.QueryGetPriceRequest}
*/
proto.routerprotocol.routerchain.pricefeed.QueryGetPriceRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.routerprotocol.routerchain.pricefeed.QueryGetPriceRequest;
return proto.routerprotocol.routerchain.pricefeed.QueryGetPriceRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.routerprotocol.routerchain.pricefeed.QueryGetPriceRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.routerprotocol.routerchain.pricefeed.QueryGetPriceRequest}
*/
proto.routerprotocol.routerchain.pricefeed.QueryGetPriceRequest.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.setSymbol(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.routerprotocol.routerchain.pricefeed.QueryGetPriceRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.routerprotocol.routerchain.pricefeed.QueryGetPriceRequest.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.pricefeed.QueryGetPriceRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.routerprotocol.routerchain.pricefeed.QueryGetPriceRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getSymbol();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
};
/**
* optional string symbol = 1;
* @return {string}
*/
proto.routerprotocol.routerchain.pricefeed.QueryGetPriceRequest.prototype.getSymbol = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.routerprotocol.routerchain.pricefeed.QueryGetPriceRequest} returns this
*/
proto.routerprotocol.routerchain.pricefeed.QueryGetPriceRequest.prototype.setSymbol = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.routerprotocol.routerchain.pricefeed.QueryGetPriceResponse.prototype.toObject = function(opt_includeInstance) {
return proto.routerprotocol.routerchain.pricefeed.QueryGetPriceResponse.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.pricefeed.QueryGetPriceResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.routerprotocol.routerchain.pricefeed.QueryGetPriceResponse.toObject = function(includeInstance, msg) {
var f, obj = {
price: (f = msg.getPrice()) && routerprotocol_routerchain_pricefeed_price_pb.Price.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.pricefeed.QueryGetPriceResponse}
*/
proto.routerprotocol.routerchain.pricefeed.QueryGetPriceResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.routerprotocol.routerchain.pricefeed.QueryGetPriceResponse;
return proto.routerprotocol.routerchain.pricefeed.QueryGetPriceResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.routerprotocol.routerchain.pricefeed.QueryGetPriceResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.routerprotocol.routerchain.pricefeed.QueryGetPriceResponse}
*/
proto.routerprotocol.routerchain.pricefeed.QueryGetPriceResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new routerprotocol_routerchain_pricefeed_price_pb.Price;
reader.readMessage(value,routerprotocol_routerchain_pricefeed_price_pb.Price.deserializeBinaryFromReader);
msg.setPrice(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.routerprotocol.routerchain.pricefeed.QueryGetPriceResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.routerprotocol.routerchain.pricefeed.QueryGetPriceResponse.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.pricefeed.QueryGetPriceResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.routerprotocol.routerchain.pricefeed.QueryGetPriceResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getPrice();
if (f != null) {
writer.writeMessage(
1,
f,
routerprotocol_routerchain_pricefeed_price_pb.Price.serializeBinaryToWriter
);
}
};
/**
* optional Price price = 1;
* @return {?proto.routerprotocol.routerchain.pricefeed.Price}
*/
proto.routerprotocol.routerchain.pricefeed.QueryGetPriceResponse.prototype.getPrice = function() {
return /** @type{?proto.routerprotocol.routerchain.pricefeed.Price} */ (
jspb.Message.getWrapperField(this, routerprotocol_routerchain_pricefeed_price_pb.Price, 1));
};
/**
* @param {?proto.routerprotocol.routerchain.pricefeed.Price|undefined} value
* @return {!proto.routerprotocol.routerchain.pricefeed.QueryGetPriceResponse} returns this
*/
proto.routerprotocol.routerchain.pricefeed.QueryGetPriceResponse.prototype.setPrice = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.routerprotocol.routerchain.pricefeed.QueryGetPriceResponse} returns this
*/
proto.routerprotocol.routerchain.pricefeed.QueryGetPriceResponse.prototype.clearPrice = function() {
return this.setPrice(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.routerprotocol.routerchain.pricefeed.QueryGetPriceResponse.prototype.hasPrice = 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.pricefeed.QueryAllPriceRequest.prototype.toObject = function(opt_includeInstance) {
return proto.routerprotocol.routerchain.pricefeed.QueryAllPriceRequest.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.pricefeed.QueryAllPriceRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.routerprotocol.routerchain.pricefeed.QueryAllPriceRequest.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.routerprotocol.routerchain.pricefeed.QueryAllPriceRequest}
*/
proto.routerprotocol.routerchain.pricefeed.QueryAllPriceRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.routerprotocol.routerchain.pricefeed.QueryAllPriceRequest;
return proto.routerprotocol.routerchain.pricefeed.QueryAllPriceRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.routerprotocol.routerchain.pricefeed.QueryAllPriceRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.routerprotocol.routerchain.pricefeed.QueryAllPriceRequest}
*/
proto.routerprotocol.routerchain.pricefeed.QueryAllPriceRequest.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.routerprotocol.routerchain.pricefeed.QueryAllPriceRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.routerprotocol.routerchain.pricefeed.QueryAllPriceRequest.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.pricefeed.QueryAllPriceRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.routerprotocol.routerchain.pricefeed.QueryAllPriceRequest.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.routerprotocol.routerchain.pricefeed.QueryAllPriceRequest.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.routerprotocol.routerchain.pricefeed.QueryAllPriceRequest} returns this
*/
proto.routerprotocol.routerchain.pricefeed.QueryAllPriceRequest.prototype.setPagination = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.routerprotocol.routerchain.pricefeed.QueryAllPriceRequest} returns this
*/
proto.routerprotocol.routerchain.pricefeed.QueryAllPriceRequest.prototype.clearPagination = function() {
return this.setPagination(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.routerprotocol.routerchain.pricefeed.QueryAllPriceRequest.prototype.hasPagination = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.routerprotocol.routerchain.pricefeed.QueryAllPriceResponse.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.pricefeed.QueryAllPriceResponse.prototype.toObject = function(opt_includeInstance) {
return proto.routerprotocol.routerchain.pricefeed.QueryAllPriceResponse.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.pricefeed.QueryAllPriceResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.