UNPKG

@routerprotocol/chain-api

Version:

Router Chain API Query client with generated gRPC bindings.

1,263 lines (1,246 loc) 398 kB
// source: tendermint/abci/types.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 tendermint_crypto_proof_pb = require('../../tendermint/crypto/proof_pb.js'); goog.object.extend(proto, tendermint_crypto_proof_pb); var tendermint_types_types_pb = require('../../tendermint/types/types_pb.js'); goog.object.extend(proto, tendermint_types_types_pb); var tendermint_crypto_keys_pb = require('../../tendermint/crypto/keys_pb.js'); goog.object.extend(proto, tendermint_crypto_keys_pb); var tendermint_types_params_pb = require('../../tendermint/types/params_pb.js'); goog.object.extend(proto, tendermint_types_params_pb); var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js'); goog.object.extend(proto, google_protobuf_timestamp_pb); var gogoproto_gogo_pb = require('../../gogoproto/gogo_pb.js'); goog.object.extend(proto, gogoproto_gogo_pb); goog.exportSymbol('proto.tendermint.abci.CheckTxType', null, global); goog.exportSymbol('proto.tendermint.abci.CommitInfo', null, global); goog.exportSymbol('proto.tendermint.abci.Event', null, global); goog.exportSymbol('proto.tendermint.abci.EventAttribute', null, global); goog.exportSymbol('proto.tendermint.abci.ExtendedCommitInfo', null, global); goog.exportSymbol('proto.tendermint.abci.ExtendedVoteInfo', null, global); goog.exportSymbol('proto.tendermint.abci.Misbehavior', null, global); goog.exportSymbol('proto.tendermint.abci.MisbehaviorType', null, global); goog.exportSymbol('proto.tendermint.abci.Request', null, global); goog.exportSymbol('proto.tendermint.abci.Request.ValueCase', null, global); goog.exportSymbol('proto.tendermint.abci.RequestApplySnapshotChunk', null, global); goog.exportSymbol('proto.tendermint.abci.RequestBeginBlock', null, global); goog.exportSymbol('proto.tendermint.abci.RequestCheckTx', null, global); goog.exportSymbol('proto.tendermint.abci.RequestCommit', null, global); goog.exportSymbol('proto.tendermint.abci.RequestDeliverTx', null, global); goog.exportSymbol('proto.tendermint.abci.RequestEcho', null, global); goog.exportSymbol('proto.tendermint.abci.RequestEndBlock', null, global); goog.exportSymbol('proto.tendermint.abci.RequestFlush', null, global); goog.exportSymbol('proto.tendermint.abci.RequestInfo', null, global); goog.exportSymbol('proto.tendermint.abci.RequestInitChain', null, global); goog.exportSymbol('proto.tendermint.abci.RequestListSnapshots', null, global); goog.exportSymbol('proto.tendermint.abci.RequestLoadSnapshotChunk', null, global); goog.exportSymbol('proto.tendermint.abci.RequestOfferSnapshot', null, global); goog.exportSymbol('proto.tendermint.abci.RequestPrepareProposal', null, global); goog.exportSymbol('proto.tendermint.abci.RequestProcessProposal', null, global); goog.exportSymbol('proto.tendermint.abci.RequestQuery', null, global); goog.exportSymbol('proto.tendermint.abci.Response', null, global); goog.exportSymbol('proto.tendermint.abci.Response.ValueCase', null, global); goog.exportSymbol('proto.tendermint.abci.ResponseApplySnapshotChunk', null, global); goog.exportSymbol('proto.tendermint.abci.ResponseApplySnapshotChunk.Result', null, global); goog.exportSymbol('proto.tendermint.abci.ResponseBeginBlock', null, global); goog.exportSymbol('proto.tendermint.abci.ResponseCheckTx', null, global); goog.exportSymbol('proto.tendermint.abci.ResponseCommit', null, global); goog.exportSymbol('proto.tendermint.abci.ResponseDeliverTx', null, global); goog.exportSymbol('proto.tendermint.abci.ResponseEcho', null, global); goog.exportSymbol('proto.tendermint.abci.ResponseEndBlock', null, global); goog.exportSymbol('proto.tendermint.abci.ResponseException', null, global); goog.exportSymbol('proto.tendermint.abci.ResponseFlush', null, global); goog.exportSymbol('proto.tendermint.abci.ResponseInfo', null, global); goog.exportSymbol('proto.tendermint.abci.ResponseInitChain', null, global); goog.exportSymbol('proto.tendermint.abci.ResponseListSnapshots', null, global); goog.exportSymbol('proto.tendermint.abci.ResponseLoadSnapshotChunk', null, global); goog.exportSymbol('proto.tendermint.abci.ResponseOfferSnapshot', null, global); goog.exportSymbol('proto.tendermint.abci.ResponseOfferSnapshot.Result', null, global); goog.exportSymbol('proto.tendermint.abci.ResponsePrepareProposal', null, global); goog.exportSymbol('proto.tendermint.abci.ResponseProcessProposal', null, global); goog.exportSymbol('proto.tendermint.abci.ResponseProcessProposal.ProposalStatus', null, global); goog.exportSymbol('proto.tendermint.abci.ResponseQuery', null, global); goog.exportSymbol('proto.tendermint.abci.Snapshot', null, global); goog.exportSymbol('proto.tendermint.abci.TxResult', null, global); goog.exportSymbol('proto.tendermint.abci.Validator', null, global); goog.exportSymbol('proto.tendermint.abci.ValidatorUpdate', null, global); goog.exportSymbol('proto.tendermint.abci.VoteInfo', 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.tendermint.abci.Request = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, proto.tendermint.abci.Request.oneofGroups_); }; goog.inherits(proto.tendermint.abci.Request, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.Request.displayName = 'proto.tendermint.abci.Request'; } /** * 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.tendermint.abci.RequestEcho = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.tendermint.abci.RequestEcho, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.RequestEcho.displayName = 'proto.tendermint.abci.RequestEcho'; } /** * 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.tendermint.abci.RequestFlush = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.tendermint.abci.RequestFlush, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.RequestFlush.displayName = 'proto.tendermint.abci.RequestFlush'; } /** * 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.tendermint.abci.RequestInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.tendermint.abci.RequestInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.RequestInfo.displayName = 'proto.tendermint.abci.RequestInfo'; } /** * 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.tendermint.abci.RequestInitChain = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.tendermint.abci.RequestInitChain.repeatedFields_, null); }; goog.inherits(proto.tendermint.abci.RequestInitChain, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.RequestInitChain.displayName = 'proto.tendermint.abci.RequestInitChain'; } /** * 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.tendermint.abci.RequestQuery = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.tendermint.abci.RequestQuery, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.RequestQuery.displayName = 'proto.tendermint.abci.RequestQuery'; } /** * 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.tendermint.abci.RequestBeginBlock = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.tendermint.abci.RequestBeginBlock.repeatedFields_, null); }; goog.inherits(proto.tendermint.abci.RequestBeginBlock, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.RequestBeginBlock.displayName = 'proto.tendermint.abci.RequestBeginBlock'; } /** * 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.tendermint.abci.RequestCheckTx = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.tendermint.abci.RequestCheckTx, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.RequestCheckTx.displayName = 'proto.tendermint.abci.RequestCheckTx'; } /** * 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.tendermint.abci.RequestDeliverTx = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.tendermint.abci.RequestDeliverTx, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.RequestDeliverTx.displayName = 'proto.tendermint.abci.RequestDeliverTx'; } /** * 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.tendermint.abci.RequestEndBlock = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.tendermint.abci.RequestEndBlock, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.RequestEndBlock.displayName = 'proto.tendermint.abci.RequestEndBlock'; } /** * 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.tendermint.abci.RequestCommit = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.tendermint.abci.RequestCommit, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.RequestCommit.displayName = 'proto.tendermint.abci.RequestCommit'; } /** * 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.tendermint.abci.RequestListSnapshots = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.tendermint.abci.RequestListSnapshots, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.RequestListSnapshots.displayName = 'proto.tendermint.abci.RequestListSnapshots'; } /** * 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.tendermint.abci.RequestOfferSnapshot = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.tendermint.abci.RequestOfferSnapshot, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.RequestOfferSnapshot.displayName = 'proto.tendermint.abci.RequestOfferSnapshot'; } /** * 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.tendermint.abci.RequestLoadSnapshotChunk = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.tendermint.abci.RequestLoadSnapshotChunk, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.RequestLoadSnapshotChunk.displayName = 'proto.tendermint.abci.RequestLoadSnapshotChunk'; } /** * 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.tendermint.abci.RequestApplySnapshotChunk = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.tendermint.abci.RequestApplySnapshotChunk, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.RequestApplySnapshotChunk.displayName = 'proto.tendermint.abci.RequestApplySnapshotChunk'; } /** * 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.tendermint.abci.RequestPrepareProposal = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.tendermint.abci.RequestPrepareProposal.repeatedFields_, null); }; goog.inherits(proto.tendermint.abci.RequestPrepareProposal, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.RequestPrepareProposal.displayName = 'proto.tendermint.abci.RequestPrepareProposal'; } /** * 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.tendermint.abci.RequestProcessProposal = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.tendermint.abci.RequestProcessProposal.repeatedFields_, null); }; goog.inherits(proto.tendermint.abci.RequestProcessProposal, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.RequestProcessProposal.displayName = 'proto.tendermint.abci.RequestProcessProposal'; } /** * 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.tendermint.abci.Response = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, proto.tendermint.abci.Response.oneofGroups_); }; goog.inherits(proto.tendermint.abci.Response, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.Response.displayName = 'proto.tendermint.abci.Response'; } /** * 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.tendermint.abci.ResponseException = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.tendermint.abci.ResponseException, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.ResponseException.displayName = 'proto.tendermint.abci.ResponseException'; } /** * 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.tendermint.abci.ResponseEcho = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.tendermint.abci.ResponseEcho, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.ResponseEcho.displayName = 'proto.tendermint.abci.ResponseEcho'; } /** * 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.tendermint.abci.ResponseFlush = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.tendermint.abci.ResponseFlush, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.ResponseFlush.displayName = 'proto.tendermint.abci.ResponseFlush'; } /** * 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.tendermint.abci.ResponseInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.tendermint.abci.ResponseInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.ResponseInfo.displayName = 'proto.tendermint.abci.ResponseInfo'; } /** * 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.tendermint.abci.ResponseInitChain = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.tendermint.abci.ResponseInitChain.repeatedFields_, null); }; goog.inherits(proto.tendermint.abci.ResponseInitChain, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.ResponseInitChain.displayName = 'proto.tendermint.abci.ResponseInitChain'; } /** * 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.tendermint.abci.ResponseQuery = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.tendermint.abci.ResponseQuery, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.ResponseQuery.displayName = 'proto.tendermint.abci.ResponseQuery'; } /** * 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.tendermint.abci.ResponseBeginBlock = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.tendermint.abci.ResponseBeginBlock.repeatedFields_, null); }; goog.inherits(proto.tendermint.abci.ResponseBeginBlock, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.ResponseBeginBlock.displayName = 'proto.tendermint.abci.ResponseBeginBlock'; } /** * 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.tendermint.abci.ResponseCheckTx = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.tendermint.abci.ResponseCheckTx.repeatedFields_, null); }; goog.inherits(proto.tendermint.abci.ResponseCheckTx, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.ResponseCheckTx.displayName = 'proto.tendermint.abci.ResponseCheckTx'; } /** * 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.tendermint.abci.ResponseDeliverTx = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.tendermint.abci.ResponseDeliverTx.repeatedFields_, null); }; goog.inherits(proto.tendermint.abci.ResponseDeliverTx, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.ResponseDeliverTx.displayName = 'proto.tendermint.abci.ResponseDeliverTx'; } /** * 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.tendermint.abci.ResponseEndBlock = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.tendermint.abci.ResponseEndBlock.repeatedFields_, null); }; goog.inherits(proto.tendermint.abci.ResponseEndBlock, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.ResponseEndBlock.displayName = 'proto.tendermint.abci.ResponseEndBlock'; } /** * 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.tendermint.abci.ResponseCommit = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.tendermint.abci.ResponseCommit, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.ResponseCommit.displayName = 'proto.tendermint.abci.ResponseCommit'; } /** * 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.tendermint.abci.ResponseListSnapshots = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.tendermint.abci.ResponseListSnapshots.repeatedFields_, null); }; goog.inherits(proto.tendermint.abci.ResponseListSnapshots, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.ResponseListSnapshots.displayName = 'proto.tendermint.abci.ResponseListSnapshots'; } /** * 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.tendermint.abci.ResponseOfferSnapshot = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.tendermint.abci.ResponseOfferSnapshot, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.ResponseOfferSnapshot.displayName = 'proto.tendermint.abci.ResponseOfferSnapshot'; } /** * 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.tendermint.abci.ResponseLoadSnapshotChunk = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.tendermint.abci.ResponseLoadSnapshotChunk, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.ResponseLoadSnapshotChunk.displayName = 'proto.tendermint.abci.ResponseLoadSnapshotChunk'; } /** * 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.tendermint.abci.ResponseApplySnapshotChunk = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.tendermint.abci.ResponseApplySnapshotChunk.repeatedFields_, null); }; goog.inherits(proto.tendermint.abci.ResponseApplySnapshotChunk, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.ResponseApplySnapshotChunk.displayName = 'proto.tendermint.abci.ResponseApplySnapshotChunk'; } /** * 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.tendermint.abci.ResponsePrepareProposal = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.tendermint.abci.ResponsePrepareProposal.repeatedFields_, null); }; goog.inherits(proto.tendermint.abci.ResponsePrepareProposal, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.ResponsePrepareProposal.displayName = 'proto.tendermint.abci.ResponsePrepareProposal'; } /** * 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.tendermint.abci.ResponseProcessProposal = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.tendermint.abci.ResponseProcessProposal, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.ResponseProcessProposal.displayName = 'proto.tendermint.abci.ResponseProcessProposal'; } /** * 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.tendermint.abci.CommitInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.tendermint.abci.CommitInfo.repeatedFields_, null); }; goog.inherits(proto.tendermint.abci.CommitInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.CommitInfo.displayName = 'proto.tendermint.abci.CommitInfo'; } /** * 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.tendermint.abci.ExtendedCommitInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.tendermint.abci.ExtendedCommitInfo.repeatedFields_, null); }; goog.inherits(proto.tendermint.abci.ExtendedCommitInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.ExtendedCommitInfo.displayName = 'proto.tendermint.abci.ExtendedCommitInfo'; } /** * 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.tendermint.abci.Event = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.tendermint.abci.Event.repeatedFields_, null); }; goog.inherits(proto.tendermint.abci.Event, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.Event.displayName = 'proto.tendermint.abci.Event'; } /** * 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.tendermint.abci.EventAttribute = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.tendermint.abci.EventAttribute, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.EventAttribute.displayName = 'proto.tendermint.abci.EventAttribute'; } /** * 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.tendermint.abci.TxResult = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.tendermint.abci.TxResult, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.TxResult.displayName = 'proto.tendermint.abci.TxResult'; } /** * 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.tendermint.abci.Validator = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.tendermint.abci.Validator, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.Validator.displayName = 'proto.tendermint.abci.Validator'; } /** * 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.tendermint.abci.ValidatorUpdate = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.tendermint.abci.ValidatorUpdate, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.ValidatorUpdate.displayName = 'proto.tendermint.abci.ValidatorUpdate'; } /** * 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.tendermint.abci.VoteInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.tendermint.abci.VoteInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.VoteInfo.displayName = 'proto.tendermint.abci.VoteInfo'; } /** * 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.tendermint.abci.ExtendedVoteInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.tendermint.abci.ExtendedVoteInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.ExtendedVoteInfo.displayName = 'proto.tendermint.abci.ExtendedVoteInfo'; } /** * 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.tendermint.abci.Misbehavior = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.tendermint.abci.Misbehavior, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.Misbehavior.displayName = 'proto.tendermint.abci.Misbehavior'; } /** * 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.tendermint.abci.Snapshot = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.tendermint.abci.Snapshot, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tendermint.abci.Snapshot.displayName = 'proto.tendermint.abci.Snapshot'; } /** * Oneof group definitions for this message. Each group defines the field * numbers belonging to that group. When of these fields' value is set, all * other fields in the group are cleared. During deserialization, if multiple * fields are encountered for a group, only the last value seen will be kept. * @private {!Array<!Array<number>>} * @const */ proto.tendermint.abci.Request.oneofGroups_ = [[1,2,3,5,6,7,8,9,10,11,12,13,14,15,16,17]]; /** * @enum {number} */ proto.tendermint.abci.Request.ValueCase = { VALUE_NOT_SET: 0, ECHO: 1, FLUSH: 2, INFO: 3, INIT_CHAIN: 5, QUERY: 6, BEGIN_BLOCK: 7, CHECK_TX: 8, DELIVER_TX: 9, END_BLOCK: 10, COMMIT: 11, LIST_SNAPSHOTS: 12, OFFER_SNAPSHOT: 13, LOAD_SNAPSHOT_CHUNK: 14, APPLY_SNAPSHOT_CHUNK: 15, PREPARE_PROPOSAL: 16, PROCESS_PROPOSAL: 17 }; /** * @return {proto.tendermint.abci.Request.ValueCase} */ proto.tendermint.abci.Request.prototype.getValueCase = function() { return /** @type {proto.tendermint.abci.Request.ValueCase} */(jspb.Message.computeOneofCase(this, proto.tendermint.abci.Request.oneofGroups_[0])); }; 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.tendermint.abci.Request.prototype.toObject = function(opt_includeInstance) { return proto.tendermint.abci.Request.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.tendermint.abci.Request} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.tendermint.abci.Request.toObject = function(includeInstance, msg) { var f, obj = { echo: (f = msg.getEcho()) && proto.tendermint.abci.RequestEcho.toObject(includeInstance, f), flush: (f = msg.getFlush()) && proto.tendermint.abci.RequestFlush.toObject(includeInstance, f), info: (f = msg.getInfo()) && proto.tendermint.abci.RequestInfo.toObject(includeInstance, f), initChain: (f = msg.getInitChain()) && proto.tendermint.abci.RequestInitChain.toObject(includeInstance, f), query: (f = msg.getQuery()) && proto.tendermint.abci.RequestQuery.toObject(includeInstance, f), beginBlock: (f = msg.getBeginBlock()) && proto.tendermint.abci.RequestBeginBlock.toObject(includeInstance, f), checkTx: (f = msg.getCheckTx()) && proto.tendermint.abci.RequestCheckTx.toObject(includeInstance, f), deliverTx: (f = msg.getDeliverTx()) && proto.tendermint.abci.RequestDeliverTx.toObject(includeInstance, f), endBlock: (f = msg.getEndBlock()) && proto.tendermint.abci.RequestEndBlock.toObject(includeInstance, f), commit: (f = msg.getCommit()) && proto.tendermint.abci.RequestCommit.toObject(includeInstance, f), listSnapshots: (f = msg.getListSnapshots()) && proto.tendermint.abci.RequestListSnapshots.toObject(includeInstance, f), offerSnapshot: (f = msg.getOfferSnapshot()) && proto.tendermint.abci.RequestOfferSnapshot.toObject(includeInstance, f), loadSnapshotChunk: (f = msg.getLoadSnapshotChunk()) && proto.tendermint.abci.RequestLoadSnapshotChunk.toObject(includeInstance, f), applySnapshotChunk: (f = msg.getApplySnapshotChunk()) && proto.tendermint.abci.RequestApplySnapshotChunk.toObject(includeInstance, f), prepareProposal: (f = msg.getPrepareProposal()) && proto.tendermint.abci.RequestPrepareProposal.toObject(includeInstance, f), processProposal: (f = msg.getProcessProposal()) && proto.tendermint.abci.RequestProcessProposal.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.tendermint.abci.Request} */ proto.tendermint.abci.Request.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.tendermint.abci.Request; return proto.tendermint.abci.Request.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.tendermint.abci.Request} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.tendermint.abci.Request} */ proto.tendermint.abci.Request.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.tendermint.abci.RequestEcho; reader.readMessage(value,proto.tendermint.abci.RequestEcho.deserializeBinaryFromReader); msg.setEcho(value); break; case 2: var value = new proto.tendermint.abci.RequestFlush; reader.readMessage(value,proto.tendermint.abci.RequestFlush.deserializeBinaryFromReader); msg.setFlush(value); break; case 3: var value = new proto.tendermint.abci.RequestInfo; reader.readMessage(value,proto.tendermint.abci.RequestInfo.deserializeBinaryFromReader); msg.setInfo(value); break; case 5: var value = new proto.tendermint.abci.RequestInitChain; reader.readMessage(value,proto.tendermint.abci.RequestInitChain.deserializeBinaryFromReader); msg.setInitChain(value); break; case 6: var value = new proto.tendermint.abci.RequestQuery; reader.readMessage(value,proto.tendermint.abci.RequestQuery.deserializeBinaryFromReader); msg.setQuery(value); break; case 7: var value = new proto.tendermint.abci.RequestBeginBlock; reader.readMessage(value,proto.tendermint.abci.RequestBeginBlock.deserializeBinaryFromReader); msg.setBeginBlock(value); break; case 8: var value = new proto.tendermint.abci.RequestCheckTx; reader.readMessage(value,proto.tendermint.abci.RequestCheckTx.deserializeBinaryFromReader); msg.setCheckTx(value); break; case 9: var value = new proto.tendermint.abci.RequestDeliverTx; reader.readMessage(value,proto.tendermint.abci.RequestDeliverTx.deserializeBinaryFromReader); msg.setDeliverTx(value); break; case 10: var value = new proto.tendermint.abci.RequestEndBlock; reader.readMessage(value,proto.tendermint.abci.RequestEndBlock.deserializeBinaryFromReader); msg.setEndBlock(value); break; case 11: var value = new proto.tendermint.abci.RequestCommit; reader.readMessage(value,proto.tendermint.abci.RequestCommit.deserializeBinaryFromReader); msg.setCommit(value); break; case 12: var value = new proto.tendermint.abci.RequestListSnapshots; reader.readMessage(value,proto.tendermint.abci.RequestListSnapshots.deserializeBinaryFromReader); msg.setListSnapshots(value); break; case 13: var value = new proto.tendermint.abci.RequestOfferSnapshot; reader.readMessage(value,proto.tendermint.abci.RequestOfferSnapshot.deserializeBinaryFromReader); msg.setOfferSnapshot(value); break; case 14: var value = new proto.tendermint.abci.RequestLoadSnapshotChunk; reader.readMessage(value,proto.tendermint.abci.RequestLoadSnapshotChunk.deserializeBinaryFromReader); msg.setLoadSnapshotChunk(value); break; case 15: var value = new proto.tendermint.abci.RequestApplySnapshotChunk; reader.readMessage(value,proto.tendermint.abci.RequestApplySnapshotChunk.deserializeBinaryFromReader); msg.setApplySnapshotChunk(value); break; case 16: var value = new proto.tendermint.abci.RequestPrepareProposal; reader.readMessage(value,proto.tendermint.abci.RequestPrepareProposal.deserializeBinaryFromReader); msg.setPrepareProposal(value); break; case 17: var value = new proto.tendermint.abci.RequestProcessProposal; reader.readMessage(value,proto.tendermint.abci.RequestProcessProposal.deserializeBinaryFromReader); msg.setProcessProposal(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (