@provenanceio/wallet-utils
Version:
Typescript Utilities for Provenance Blockchain Wallet
1,361 lines (1,135 loc) • 337 kB
JavaScript
"use strict";
// source: provenance/exchange/v1/query.proto
/**
* @fileoverview
* @enhanceable
* @suppress {missingRequire} reports error on implicit type usages.
* @suppress {messageConventions} JS Compiler reports an error if a variable or
* field starts with 'MSG_' and isn't a translatable message.
* @public
*/
// GENERATED CODE -- DO NOT EDIT!
/* eslint-disable */
// @ts-nocheck
var jspb = require('google-protobuf');
var goog = jspb;
var global = function () {
return this || window || global || self || Function('return this')();
}.call(null);
var cosmos_proto_cosmos_pb = require('../../../cosmos_proto/cosmos_pb.js');
goog.object.extend(proto, cosmos_proto_cosmos_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 cosmos_base_v1beta1_coin_pb = require('../../../cosmos/base/v1beta1/coin_pb.js');
goog.object.extend(proto, cosmos_base_v1beta1_coin_pb);
var google_api_annotations_pb = require('../../../google/api/annotations_pb.js');
goog.object.extend(proto, google_api_annotations_pb);
var gogoproto_gogo_pb = require('../../../gogoproto/gogo_pb.js');
goog.object.extend(proto, gogoproto_gogo_pb);
var provenance_exchange_v1_commitments_pb = require('../../../provenance/exchange/v1/commitments_pb.js');
goog.object.extend(proto, provenance_exchange_v1_commitments_pb);
var provenance_exchange_v1_market_pb = require('../../../provenance/exchange/v1/market_pb.js');
goog.object.extend(proto, provenance_exchange_v1_market_pb);
var provenance_exchange_v1_orders_pb = require('../../../provenance/exchange/v1/orders_pb.js');
goog.object.extend(proto, provenance_exchange_v1_orders_pb);
var provenance_exchange_v1_params_pb = require('../../../provenance/exchange/v1/params_pb.js');
goog.object.extend(proto, provenance_exchange_v1_params_pb);
var provenance_exchange_v1_payments_pb = require('../../../provenance/exchange/v1/payments_pb.js');
goog.object.extend(proto, provenance_exchange_v1_payments_pb);
var provenance_exchange_v1_tx_pb = require('../../../provenance/exchange/v1/tx_pb.js');
goog.object.extend(proto, provenance_exchange_v1_tx_pb);
goog.exportSymbol('proto.provenance.exchange.v1.QueryCommitmentSettlementFeeCalcRequest', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryCommitmentSettlementFeeCalcResponse', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryGetAccountCommitmentsRequest', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryGetAccountCommitmentsResponse', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryGetAllCommitmentsRequest', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryGetAllCommitmentsResponse', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryGetAllMarketsRequest', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryGetAllMarketsResponse', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryGetAllOrdersRequest', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryGetAllOrdersResponse', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryGetAllPaymentsRequest', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryGetAllPaymentsResponse', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryGetAssetOrdersRequest', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryGetAssetOrdersResponse', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryGetCommitmentRequest', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryGetCommitmentResponse', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryGetMarketCommitmentsRequest', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryGetMarketCommitmentsResponse', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryGetMarketOrdersRequest', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryGetMarketOrdersResponse', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryGetMarketRequest', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryGetMarketResponse', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryGetOrderByExternalIDRequest', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryGetOrderByExternalIDResponse', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryGetOrderRequest', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryGetOrderResponse', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryGetOwnerOrdersRequest', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryGetOwnerOrdersResponse', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryGetPaymentRequest', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryGetPaymentResponse', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryGetPaymentsWithSourceRequest', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryGetPaymentsWithSourceResponse', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryGetPaymentsWithTargetRequest', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryGetPaymentsWithTargetResponse', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryOrderFeeCalcRequest', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryOrderFeeCalcResponse', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryParamsRequest', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryParamsResponse', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryPaymentFeeCalcRequest', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryPaymentFeeCalcResponse', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryValidateCreateMarketRequest', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryValidateCreateMarketResponse', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryValidateManageFeesRequest', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryValidateManageFeesResponse', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryValidateMarketRequest', null, global);
goog.exportSymbol('proto.provenance.exchange.v1.QueryValidateMarketResponse', 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.provenance.exchange.v1.QueryOrderFeeCalcRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryOrderFeeCalcRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryOrderFeeCalcRequest.displayName = 'proto.provenance.exchange.v1.QueryOrderFeeCalcRequest';
}
/**
* 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.provenance.exchange.v1.QueryOrderFeeCalcResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.provenance.exchange.v1.QueryOrderFeeCalcResponse.repeatedFields_, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryOrderFeeCalcResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryOrderFeeCalcResponse.displayName = 'proto.provenance.exchange.v1.QueryOrderFeeCalcResponse';
}
/**
* 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.provenance.exchange.v1.QueryGetOrderRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryGetOrderRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryGetOrderRequest.displayName = 'proto.provenance.exchange.v1.QueryGetOrderRequest';
}
/**
* 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.provenance.exchange.v1.QueryGetOrderResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryGetOrderResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryGetOrderResponse.displayName = 'proto.provenance.exchange.v1.QueryGetOrderResponse';
}
/**
* 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.provenance.exchange.v1.QueryGetOrderByExternalIDRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryGetOrderByExternalIDRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryGetOrderByExternalIDRequest.displayName = 'proto.provenance.exchange.v1.QueryGetOrderByExternalIDRequest';
}
/**
* 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.provenance.exchange.v1.QueryGetOrderByExternalIDResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryGetOrderByExternalIDResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryGetOrderByExternalIDResponse.displayName = 'proto.provenance.exchange.v1.QueryGetOrderByExternalIDResponse';
}
/**
* 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.provenance.exchange.v1.QueryGetMarketOrdersRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryGetMarketOrdersRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryGetMarketOrdersRequest.displayName = 'proto.provenance.exchange.v1.QueryGetMarketOrdersRequest';
}
/**
* 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.provenance.exchange.v1.QueryGetMarketOrdersResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.provenance.exchange.v1.QueryGetMarketOrdersResponse.repeatedFields_, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryGetMarketOrdersResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryGetMarketOrdersResponse.displayName = 'proto.provenance.exchange.v1.QueryGetMarketOrdersResponse';
}
/**
* 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.provenance.exchange.v1.QueryGetOwnerOrdersRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryGetOwnerOrdersRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryGetOwnerOrdersRequest.displayName = 'proto.provenance.exchange.v1.QueryGetOwnerOrdersRequest';
}
/**
* 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.provenance.exchange.v1.QueryGetOwnerOrdersResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.provenance.exchange.v1.QueryGetOwnerOrdersResponse.repeatedFields_, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryGetOwnerOrdersResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryGetOwnerOrdersResponse.displayName = 'proto.provenance.exchange.v1.QueryGetOwnerOrdersResponse';
}
/**
* 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.provenance.exchange.v1.QueryGetAssetOrdersRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryGetAssetOrdersRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryGetAssetOrdersRequest.displayName = 'proto.provenance.exchange.v1.QueryGetAssetOrdersRequest';
}
/**
* 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.provenance.exchange.v1.QueryGetAssetOrdersResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.provenance.exchange.v1.QueryGetAssetOrdersResponse.repeatedFields_, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryGetAssetOrdersResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryGetAssetOrdersResponse.displayName = 'proto.provenance.exchange.v1.QueryGetAssetOrdersResponse';
}
/**
* 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.provenance.exchange.v1.QueryGetAllOrdersRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryGetAllOrdersRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryGetAllOrdersRequest.displayName = 'proto.provenance.exchange.v1.QueryGetAllOrdersRequest';
}
/**
* 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.provenance.exchange.v1.QueryGetAllOrdersResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.provenance.exchange.v1.QueryGetAllOrdersResponse.repeatedFields_, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryGetAllOrdersResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryGetAllOrdersResponse.displayName = 'proto.provenance.exchange.v1.QueryGetAllOrdersResponse';
}
/**
* 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.provenance.exchange.v1.QueryGetCommitmentRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryGetCommitmentRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryGetCommitmentRequest.displayName = 'proto.provenance.exchange.v1.QueryGetCommitmentRequest';
}
/**
* 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.provenance.exchange.v1.QueryGetCommitmentResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.provenance.exchange.v1.QueryGetCommitmentResponse.repeatedFields_, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryGetCommitmentResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryGetCommitmentResponse.displayName = 'proto.provenance.exchange.v1.QueryGetCommitmentResponse';
}
/**
* 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.provenance.exchange.v1.QueryGetAccountCommitmentsRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryGetAccountCommitmentsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryGetAccountCommitmentsRequest.displayName = 'proto.provenance.exchange.v1.QueryGetAccountCommitmentsRequest';
}
/**
* 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.provenance.exchange.v1.QueryGetAccountCommitmentsResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.provenance.exchange.v1.QueryGetAccountCommitmentsResponse.repeatedFields_, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryGetAccountCommitmentsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryGetAccountCommitmentsResponse.displayName = 'proto.provenance.exchange.v1.QueryGetAccountCommitmentsResponse';
}
/**
* 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.provenance.exchange.v1.QueryGetMarketCommitmentsRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryGetMarketCommitmentsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryGetMarketCommitmentsRequest.displayName = 'proto.provenance.exchange.v1.QueryGetMarketCommitmentsRequest';
}
/**
* 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.provenance.exchange.v1.QueryGetMarketCommitmentsResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.provenance.exchange.v1.QueryGetMarketCommitmentsResponse.repeatedFields_, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryGetMarketCommitmentsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryGetMarketCommitmentsResponse.displayName = 'proto.provenance.exchange.v1.QueryGetMarketCommitmentsResponse';
}
/**
* 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.provenance.exchange.v1.QueryGetAllCommitmentsRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryGetAllCommitmentsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryGetAllCommitmentsRequest.displayName = 'proto.provenance.exchange.v1.QueryGetAllCommitmentsRequest';
}
/**
* 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.provenance.exchange.v1.QueryGetAllCommitmentsResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.provenance.exchange.v1.QueryGetAllCommitmentsResponse.repeatedFields_, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryGetAllCommitmentsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryGetAllCommitmentsResponse.displayName = 'proto.provenance.exchange.v1.QueryGetAllCommitmentsResponse';
}
/**
* 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.provenance.exchange.v1.QueryGetMarketRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryGetMarketRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryGetMarketRequest.displayName = 'proto.provenance.exchange.v1.QueryGetMarketRequest';
}
/**
* 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.provenance.exchange.v1.QueryGetMarketResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryGetMarketResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryGetMarketResponse.displayName = 'proto.provenance.exchange.v1.QueryGetMarketResponse';
}
/**
* 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.provenance.exchange.v1.QueryGetAllMarketsRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryGetAllMarketsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryGetAllMarketsRequest.displayName = 'proto.provenance.exchange.v1.QueryGetAllMarketsRequest';
}
/**
* 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.provenance.exchange.v1.QueryGetAllMarketsResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.provenance.exchange.v1.QueryGetAllMarketsResponse.repeatedFields_, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryGetAllMarketsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryGetAllMarketsResponse.displayName = 'proto.provenance.exchange.v1.QueryGetAllMarketsResponse';
}
/**
* 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.provenance.exchange.v1.QueryParamsRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryParamsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryParamsRequest.displayName = 'proto.provenance.exchange.v1.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.provenance.exchange.v1.QueryParamsResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryParamsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryParamsResponse.displayName = 'proto.provenance.exchange.v1.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.provenance.exchange.v1.QueryCommitmentSettlementFeeCalcRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryCommitmentSettlementFeeCalcRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryCommitmentSettlementFeeCalcRequest.displayName = 'proto.provenance.exchange.v1.QueryCommitmentSettlementFeeCalcRequest';
}
/**
* 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.provenance.exchange.v1.QueryCommitmentSettlementFeeCalcResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.provenance.exchange.v1.QueryCommitmentSettlementFeeCalcResponse.repeatedFields_, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryCommitmentSettlementFeeCalcResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryCommitmentSettlementFeeCalcResponse.displayName = 'proto.provenance.exchange.v1.QueryCommitmentSettlementFeeCalcResponse';
}
/**
* 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.provenance.exchange.v1.QueryValidateCreateMarketRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryValidateCreateMarketRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryValidateCreateMarketRequest.displayName = 'proto.provenance.exchange.v1.QueryValidateCreateMarketRequest';
}
/**
* 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.provenance.exchange.v1.QueryValidateCreateMarketResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryValidateCreateMarketResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryValidateCreateMarketResponse.displayName = 'proto.provenance.exchange.v1.QueryValidateCreateMarketResponse';
}
/**
* 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.provenance.exchange.v1.QueryValidateMarketRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryValidateMarketRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryValidateMarketRequest.displayName = 'proto.provenance.exchange.v1.QueryValidateMarketRequest';
}
/**
* 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.provenance.exchange.v1.QueryValidateMarketResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryValidateMarketResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryValidateMarketResponse.displayName = 'proto.provenance.exchange.v1.QueryValidateMarketResponse';
}
/**
* 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.provenance.exchange.v1.QueryValidateManageFeesRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryValidateManageFeesRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryValidateManageFeesRequest.displayName = 'proto.provenance.exchange.v1.QueryValidateManageFeesRequest';
}
/**
* 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.provenance.exchange.v1.QueryValidateManageFeesResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryValidateManageFeesResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryValidateManageFeesResponse.displayName = 'proto.provenance.exchange.v1.QueryValidateManageFeesResponse';
}
/**
* 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.provenance.exchange.v1.QueryGetPaymentRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryGetPaymentRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryGetPaymentRequest.displayName = 'proto.provenance.exchange.v1.QueryGetPaymentRequest';
}
/**
* 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.provenance.exchange.v1.QueryGetPaymentResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryGetPaymentResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryGetPaymentResponse.displayName = 'proto.provenance.exchange.v1.QueryGetPaymentResponse';
}
/**
* 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.provenance.exchange.v1.QueryGetPaymentsWithSourceRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryGetPaymentsWithSourceRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryGetPaymentsWithSourceRequest.displayName = 'proto.provenance.exchange.v1.QueryGetPaymentsWithSourceRequest';
}
/**
* 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.provenance.exchange.v1.QueryGetPaymentsWithSourceResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.provenance.exchange.v1.QueryGetPaymentsWithSourceResponse.repeatedFields_, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryGetPaymentsWithSourceResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryGetPaymentsWithSourceResponse.displayName = 'proto.provenance.exchange.v1.QueryGetPaymentsWithSourceResponse';
}
/**
* 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.provenance.exchange.v1.QueryGetPaymentsWithTargetRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryGetPaymentsWithTargetRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryGetPaymentsWithTargetRequest.displayName = 'proto.provenance.exchange.v1.QueryGetPaymentsWithTargetRequest';
}
/**
* 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.provenance.exchange.v1.QueryGetPaymentsWithTargetResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.provenance.exchange.v1.QueryGetPaymentsWithTargetResponse.repeatedFields_, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryGetPaymentsWithTargetResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryGetPaymentsWithTargetResponse.displayName = 'proto.provenance.exchange.v1.QueryGetPaymentsWithTargetResponse';
}
/**
* 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.provenance.exchange.v1.QueryGetAllPaymentsRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryGetAllPaymentsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryGetAllPaymentsRequest.displayName = 'proto.provenance.exchange.v1.QueryGetAllPaymentsRequest';
}
/**
* 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.provenance.exchange.v1.QueryGetAllPaymentsResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.provenance.exchange.v1.QueryGetAllPaymentsResponse.repeatedFields_, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryGetAllPaymentsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryGetAllPaymentsResponse.displayName = 'proto.provenance.exchange.v1.QueryGetAllPaymentsResponse';
}
/**
* 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.provenance.exchange.v1.QueryPaymentFeeCalcRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryPaymentFeeCalcRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryPaymentFeeCalcRequest.displayName = 'proto.provenance.exchange.v1.QueryPaymentFeeCalcRequest';
}
/**
* 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.provenance.exchange.v1.QueryPaymentFeeCalcResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.provenance.exchange.v1.QueryPaymentFeeCalcResponse.repeatedFields_, null);
};
goog.inherits(proto.provenance.exchange.v1.QueryPaymentFeeCalcResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.exchange.v1.QueryPaymentFeeCalcResponse.displayName = 'proto.provenance.exchange.v1.QueryPaymentFeeCalcResponse';
}
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.provenance.exchange.v1.QueryOrderFeeCalcRequest.prototype.toObject = function (opt_includeInstance) {
return proto.provenance.exchange.v1.QueryOrderFeeCalcRequest.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.provenance.exchange.v1.QueryOrderFeeCalcRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.provenance.exchange.v1.QueryOrderFeeCalcRequest.toObject = function (includeInstance, msg) {
var f,
obj = {
askOrder: (f = msg.getAskOrder()) && provenance_exchange_v1_orders_pb.AskOrder.toObject(includeInstance, f),
bidOrder: (f = msg.getBidOrder()) && provenance_exchange_v1_orders_pb.BidOrder.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.provenance.exchange.v1.QueryOrderFeeCalcRequest}
*/
proto.provenance.exchange.v1.QueryOrderFeeCalcRequest.deserializeBinary = function (bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.provenance.exchange.v1.QueryOrderFeeCalcRequest();
return proto.provenance.exchange.v1.QueryOrderFeeCalcRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.provenance.exchange.v1.QueryOrderFeeCalcRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.provenance.exchange.v1.QueryOrderFeeCalcRequest}
*/
proto.provenance.exchange.v1.QueryOrderFeeCalcRequest.deserializeBinaryFromReader = function (msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 2:
var value = new provenance_exchange_v1_orders_pb.AskOrder();
reader.readMessage(value, provenance_exchange_v1_orders_pb.AskOrder.deserializeBinaryFromReader);
msg.setAskOrder(value);
break;
case 3:
var value = new provenance_exchange_v1_orders_pb.BidOrder();
reader.readMessage(value, provenance_exchange_v1_orders_pb.BidOrder.deserializeBinaryFromReader);
msg.setBidOrder(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.provenance.exchange.v1.QueryOrderFeeCalcRequest.prototype.serializeBinary = func