@provenanceio/wallet-utils
Version:
Typescript Utilities for Provenance Blockchain Wallet
1,463 lines (1,219 loc) • 271 kB
JavaScript
"use strict";
// source: provenance/marker/v1/tx.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 google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js');
goog.object.extend(proto, google_protobuf_any_pb);
var cosmos_proto_cosmos_pb = require('../../../cosmos_proto/cosmos_pb.js');
goog.object.extend(proto, cosmos_proto_cosmos_pb);
var gogoproto_gogo_pb = require('../../../gogoproto/gogo_pb.js');
goog.object.extend(proto, gogoproto_gogo_pb);
var cosmos_base_v1beta1_coin_pb = require('../../../cosmos/base/v1beta1/coin_pb.js');
goog.object.extend(proto, cosmos_base_v1beta1_coin_pb);
var cosmos_bank_v1beta1_bank_pb = require('../../../cosmos/bank/v1beta1/bank_pb.js');
goog.object.extend(proto, cosmos_bank_v1beta1_bank_pb);
var cosmos_msg_v1_msg_pb = require('../../../cosmos/msg/v1/msg_pb.js');
goog.object.extend(proto, cosmos_msg_v1_msg_pb);
var ibc_applications_transfer_v1_tx_pb = require('../../../ibc/applications/transfer/v1/tx_pb.js');
goog.object.extend(proto, ibc_applications_transfer_v1_tx_pb);
var provenance_marker_v1_marker_pb = require('../../../provenance/marker/v1/marker_pb.js');
goog.object.extend(proto, provenance_marker_v1_marker_pb);
var provenance_marker_v1_accessgrant_pb = require('../../../provenance/marker/v1/accessgrant_pb.js');
goog.object.extend(proto, provenance_marker_v1_accessgrant_pb);
goog.exportSymbol('proto.provenance.marker.v1.MsgActivateRequest', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgActivateResponse', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgAddAccessRequest', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgAddAccessResponse', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgAddFinalizeActivateMarkerRequest', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgAddFinalizeActivateMarkerResponse', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgAddMarkerRequest', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgAddMarkerResponse', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgAddNetAssetValuesRequest', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgAddNetAssetValuesResponse', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgBurnRequest', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgBurnResponse', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgCancelRequest', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgCancelResponse', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgDeleteAccessRequest', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgDeleteAccessResponse', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgDeleteRequest', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgDeleteResponse', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgFinalizeRequest', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgFinalizeResponse', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgGrantAllowanceRequest', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgGrantAllowanceResponse', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgIbcTransferRequest', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgIbcTransferResponse', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgMintRequest', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgMintResponse', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgSetAccountDataRequest', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgSetAccountDataResponse', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgSetDenomMetadataRequest', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgSetDenomMetadataResponse', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgSupplyIncreaseProposalRequest', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgSupplyIncreaseProposalResponse', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgTransferRequest', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgTransferResponse', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgUpdateForcedTransferRequest', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgUpdateForcedTransferResponse', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgUpdateRequiredAttributesRequest', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgUpdateRequiredAttributesResponse', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgUpdateSendDenyListRequest', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgUpdateSendDenyListResponse', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgWithdrawRequest', null, global);
goog.exportSymbol('proto.provenance.marker.v1.MsgWithdrawResponse', 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.marker.v1.MsgGrantAllowanceRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgGrantAllowanceRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgGrantAllowanceRequest.displayName = 'proto.provenance.marker.v1.MsgGrantAllowanceRequest';
}
/**
* 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.marker.v1.MsgGrantAllowanceResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgGrantAllowanceResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgGrantAllowanceResponse.displayName = 'proto.provenance.marker.v1.MsgGrantAllowanceResponse';
}
/**
* 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.marker.v1.MsgAddMarkerRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.provenance.marker.v1.MsgAddMarkerRequest.repeatedFields_, null);
};
goog.inherits(proto.provenance.marker.v1.MsgAddMarkerRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgAddMarkerRequest.displayName = 'proto.provenance.marker.v1.MsgAddMarkerRequest';
}
/**
* 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.marker.v1.MsgAddMarkerResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgAddMarkerResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgAddMarkerResponse.displayName = 'proto.provenance.marker.v1.MsgAddMarkerResponse';
}
/**
* 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.marker.v1.MsgAddAccessRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.provenance.marker.v1.MsgAddAccessRequest.repeatedFields_, null);
};
goog.inherits(proto.provenance.marker.v1.MsgAddAccessRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgAddAccessRequest.displayName = 'proto.provenance.marker.v1.MsgAddAccessRequest';
}
/**
* 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.marker.v1.MsgAddAccessResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgAddAccessResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgAddAccessResponse.displayName = 'proto.provenance.marker.v1.MsgAddAccessResponse';
}
/**
* 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.marker.v1.MsgDeleteAccessRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgDeleteAccessRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgDeleteAccessRequest.displayName = 'proto.provenance.marker.v1.MsgDeleteAccessRequest';
}
/**
* 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.marker.v1.MsgDeleteAccessResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgDeleteAccessResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgDeleteAccessResponse.displayName = 'proto.provenance.marker.v1.MsgDeleteAccessResponse';
}
/**
* 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.marker.v1.MsgFinalizeRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgFinalizeRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgFinalizeRequest.displayName = 'proto.provenance.marker.v1.MsgFinalizeRequest';
}
/**
* 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.marker.v1.MsgFinalizeResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgFinalizeResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgFinalizeResponse.displayName = 'proto.provenance.marker.v1.MsgFinalizeResponse';
}
/**
* 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.marker.v1.MsgActivateRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgActivateRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgActivateRequest.displayName = 'proto.provenance.marker.v1.MsgActivateRequest';
}
/**
* 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.marker.v1.MsgActivateResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgActivateResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgActivateResponse.displayName = 'proto.provenance.marker.v1.MsgActivateResponse';
}
/**
* 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.marker.v1.MsgCancelRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgCancelRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgCancelRequest.displayName = 'proto.provenance.marker.v1.MsgCancelRequest';
}
/**
* 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.marker.v1.MsgCancelResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgCancelResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgCancelResponse.displayName = 'proto.provenance.marker.v1.MsgCancelResponse';
}
/**
* 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.marker.v1.MsgDeleteRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgDeleteRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgDeleteRequest.displayName = 'proto.provenance.marker.v1.MsgDeleteRequest';
}
/**
* 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.marker.v1.MsgDeleteResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgDeleteResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgDeleteResponse.displayName = 'proto.provenance.marker.v1.MsgDeleteResponse';
}
/**
* 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.marker.v1.MsgMintRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgMintRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgMintRequest.displayName = 'proto.provenance.marker.v1.MsgMintRequest';
}
/**
* 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.marker.v1.MsgMintResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgMintResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgMintResponse.displayName = 'proto.provenance.marker.v1.MsgMintResponse';
}
/**
* 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.marker.v1.MsgBurnRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgBurnRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgBurnRequest.displayName = 'proto.provenance.marker.v1.MsgBurnRequest';
}
/**
* 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.marker.v1.MsgBurnResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgBurnResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgBurnResponse.displayName = 'proto.provenance.marker.v1.MsgBurnResponse';
}
/**
* 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.marker.v1.MsgWithdrawRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.provenance.marker.v1.MsgWithdrawRequest.repeatedFields_, null);
};
goog.inherits(proto.provenance.marker.v1.MsgWithdrawRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgWithdrawRequest.displayName = 'proto.provenance.marker.v1.MsgWithdrawRequest';
}
/**
* 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.marker.v1.MsgWithdrawResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgWithdrawResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgWithdrawResponse.displayName = 'proto.provenance.marker.v1.MsgWithdrawResponse';
}
/**
* 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.marker.v1.MsgTransferRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgTransferRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgTransferRequest.displayName = 'proto.provenance.marker.v1.MsgTransferRequest';
}
/**
* 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.marker.v1.MsgTransferResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgTransferResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgTransferResponse.displayName = 'proto.provenance.marker.v1.MsgTransferResponse';
}
/**
* 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.marker.v1.MsgIbcTransferRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgIbcTransferRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgIbcTransferRequest.displayName = 'proto.provenance.marker.v1.MsgIbcTransferRequest';
}
/**
* 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.marker.v1.MsgIbcTransferResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgIbcTransferResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgIbcTransferResponse.displayName = 'proto.provenance.marker.v1.MsgIbcTransferResponse';
}
/**
* 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.marker.v1.MsgSetDenomMetadataRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgSetDenomMetadataRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgSetDenomMetadataRequest.displayName = 'proto.provenance.marker.v1.MsgSetDenomMetadataRequest';
}
/**
* 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.marker.v1.MsgSetDenomMetadataResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgSetDenomMetadataResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgSetDenomMetadataResponse.displayName = 'proto.provenance.marker.v1.MsgSetDenomMetadataResponse';
}
/**
* 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.marker.v1.MsgAddFinalizeActivateMarkerRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.provenance.marker.v1.MsgAddFinalizeActivateMarkerRequest.repeatedFields_, null);
};
goog.inherits(proto.provenance.marker.v1.MsgAddFinalizeActivateMarkerRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgAddFinalizeActivateMarkerRequest.displayName = 'proto.provenance.marker.v1.MsgAddFinalizeActivateMarkerRequest';
}
/**
* 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.marker.v1.MsgAddFinalizeActivateMarkerResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgAddFinalizeActivateMarkerResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgAddFinalizeActivateMarkerResponse.displayName = 'proto.provenance.marker.v1.MsgAddFinalizeActivateMarkerResponse';
}
/**
* 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.marker.v1.MsgSupplyIncreaseProposalRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgSupplyIncreaseProposalRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgSupplyIncreaseProposalRequest.displayName = 'proto.provenance.marker.v1.MsgSupplyIncreaseProposalRequest';
}
/**
* 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.marker.v1.MsgSupplyIncreaseProposalResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgSupplyIncreaseProposalResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgSupplyIncreaseProposalResponse.displayName = 'proto.provenance.marker.v1.MsgSupplyIncreaseProposalResponse';
}
/**
* 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.marker.v1.MsgUpdateRequiredAttributesRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.provenance.marker.v1.MsgUpdateRequiredAttributesRequest.repeatedFields_, null);
};
goog.inherits(proto.provenance.marker.v1.MsgUpdateRequiredAttributesRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgUpdateRequiredAttributesRequest.displayName = 'proto.provenance.marker.v1.MsgUpdateRequiredAttributesRequest';
}
/**
* 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.marker.v1.MsgUpdateRequiredAttributesResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgUpdateRequiredAttributesResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgUpdateRequiredAttributesResponse.displayName = 'proto.provenance.marker.v1.MsgUpdateRequiredAttributesResponse';
}
/**
* 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.marker.v1.MsgUpdateForcedTransferRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgUpdateForcedTransferRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgUpdateForcedTransferRequest.displayName = 'proto.provenance.marker.v1.MsgUpdateForcedTransferRequest';
}
/**
* 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.marker.v1.MsgUpdateForcedTransferResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgUpdateForcedTransferResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgUpdateForcedTransferResponse.displayName = 'proto.provenance.marker.v1.MsgUpdateForcedTransferResponse';
}
/**
* 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.marker.v1.MsgSetAccountDataRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgSetAccountDataRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgSetAccountDataRequest.displayName = 'proto.provenance.marker.v1.MsgSetAccountDataRequest';
}
/**
* 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.marker.v1.MsgSetAccountDataResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgSetAccountDataResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgSetAccountDataResponse.displayName = 'proto.provenance.marker.v1.MsgSetAccountDataResponse';
}
/**
* 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.marker.v1.MsgUpdateSendDenyListRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.provenance.marker.v1.MsgUpdateSendDenyListRequest.repeatedFields_, null);
};
goog.inherits(proto.provenance.marker.v1.MsgUpdateSendDenyListRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgUpdateSendDenyListRequest.displayName = 'proto.provenance.marker.v1.MsgUpdateSendDenyListRequest';
}
/**
* 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.marker.v1.MsgUpdateSendDenyListResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgUpdateSendDenyListResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgUpdateSendDenyListResponse.displayName = 'proto.provenance.marker.v1.MsgUpdateSendDenyListResponse';
}
/**
* 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.marker.v1.MsgAddNetAssetValuesRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.provenance.marker.v1.MsgAddNetAssetValuesRequest.repeatedFields_, null);
};
goog.inherits(proto.provenance.marker.v1.MsgAddNetAssetValuesRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgAddNetAssetValuesRequest.displayName = 'proto.provenance.marker.v1.MsgAddNetAssetValuesRequest';
}
/**
* 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.marker.v1.MsgAddNetAssetValuesResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.provenance.marker.v1.MsgAddNetAssetValuesResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.provenance.marker.v1.MsgAddNetAssetValuesResponse.displayName = 'proto.provenance.marker.v1.MsgAddNetAssetValuesResponse';
}
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.marker.v1.MsgGrantAllowanceRequest.prototype.toObject = function (opt_includeInstance) {
return proto.provenance.marker.v1.MsgGrantAllowanceRequest.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.marker.v1.MsgGrantAllowanceRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.provenance.marker.v1.MsgGrantAllowanceRequest.toObject = function (includeInstance, msg) {
var f,
obj = {
denom: jspb.Message.getFieldWithDefault(msg, 1, ""),
administrator: jspb.Message.getFieldWithDefault(msg, 2, ""),
grantee: jspb.Message.getFieldWithDefault(msg, 3, ""),
allowance: (f = msg.getAllowance()) && google_protobuf_any_pb.Any.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.marker.v1.MsgGrantAllowanceRequest}
*/
proto.provenance.marker.v1.MsgGrantAllowanceRequest.deserializeBinary = function (bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.provenance.marker.v1.MsgGrantAllowanceRequest();
return proto.provenance.marker.v1.MsgGrantAllowanceRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.provenance.marker.v1.MsgGrantAllowanceRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.provenance.marker.v1.MsgGrantAllowanceRequest}
*/
proto.provenance.marker.v1.MsgGrantAllowanceRequest.deserializeBinaryFromReader = function (msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value =
/** @type {string} */
reader.readString();
msg.setDenom(value);
break;
case 2:
var value =
/** @type {string} */
reader.readString();
msg.setAdministrator(value);
break;
case 3:
var value =
/** @type {string} */
reader.readString();
msg.setGrantee(value);
break;
case 4:
var value = new google_protobuf_any_pb.Any();
reader.readMessage(value, google_protobuf_any_pb.Any.deserializeBinaryFromReader);
msg.setAllowance(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.provenance.marker.v1.MsgGrantAllowanceRequest.prototype.serializeBinary = function () {
var writer = new jspb.BinaryWriter();
proto.provenance.marker.v1.MsgGrantAllowanceRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.provenance.marker.v1.MsgGrantAllowanceRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.provenance.marker.v1.MsgGrantAllowanceRequest.serializeBinaryToWriter = function (message, writer) {
var f = undefined;
f = message.getDenom();
if (f.length > 0) {
writer.writeString(1, f);
}
f = message.getAdministrator();
if (f.length > 0) {
writer.writeString(2, f);
}
f = message.getGrantee();
if (f.length > 0) {
writer.writeString(3, f);
}
f = message.getAllowance();
if (f != null) {
writer.writeMessage(4, f, google_protobuf_any_pb.Any.serializeBinaryToWriter);
}
};
/**
* optional string denom = 1;
* @return {string}
*/
proto.provenance.marker.v1.MsgGrantAllowanceRequest.prototype.getDenom = function () {
return (
/** @type {string} */
jspb.Message.getFieldWithDefault(this, 1, "")
);
};
/**
* @param {string} value
* @return {!proto.provenance.marker.v1.MsgGrantAllowanceRequest} returns this
*/
proto.provenance.marker.v1.MsgGrantAllowanceRequest.prototype.setDenom = function (value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional string administrator = 2;
* @return {string}
*/
proto.provenance.marker.v1.MsgGrantAllowanceRequest.prototype.getAdministrator = function () {
return (
/** @type {string} */
jspb.Message.getFieldWithDefault(this, 2, "")
);
};
/**
* @param {string} value
* @return {!proto.provenance.marker.v1.MsgGrantAllowanceRequest} returns this
*/
proto.provenance.marker.v1.MsgGrantAllowanceRequest.prototype.setAdministrator = function (value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
/**
* optional string grantee = 3;
* @return {string}
*/
proto.provenance.marker.v1.MsgGrantAllowanceRequest.prototype.getGrantee = function () {
return (
/** @type {string} */
jspb.Message.getFieldWithDefault(this, 3, "")
);
};
/**
* @param {string} value
* @return {!proto.provenance.marker.v1.MsgGrantAllowanceRequest} returns this
*/
proto.provenance.marker.v1.MsgGrantAllowanceRequest.prototype.setGrantee = function (value) {
return jspb.Message.setProto3StringField(this, 3, value);
};
/**
* optional google.protobuf.Any allowance = 4;
* @return {?proto.google.protobuf.Any}
*/
proto.provenance.marker.v1.MsgGrantAllowanceRequest.prototype.getAllowance = function () {
return (
/** @type{?proto.google.protobuf.Any} */
jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 4)
);
};
/**
* @param {?proto.google.protobuf.Any|undefined} value
* @return {!proto.provenance.marker.v1.MsgGrantAllowanceRequest} returns this
*/
proto.provenance.marker.v1.MsgGrantAllowanceRequest.prototype.setAllowance = function (value) {
return jspb.Message.setWrapperField(this, 4, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.provenance.marker.v1.MsgGrantAllowanceRequest} returns this
*/
proto.provenance.marker.v1.MsgGrantAllowanceRequest.prototype.clearAllowance = function () {
return this.setAllowance(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.provenance.marker.v1.MsgGrantAllowanceRequest.prototype.hasAllowance = function () {
return jspb.Message.getField(this, 4) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.provenance.marker.v1.MsgGrantAllowanceResponse.prototype.toObject = function (opt_includeInstance) {
return proto.provenance.marker.v1.MsgGrantAllowanceResponse.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.marker.v1.MsgGrantAllowanceResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.provenance.marker.v1.MsgGrantAllowanceResponse.toObject = function (includeInstance, msg) {
var f,
obj = {};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.provenance.marker.v1.MsgGrantAllowanceResponse}
*/
proto.provenance.marker.v1.MsgGrantAllowanceResponse.deserializeBinary = function (bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.provenance.marker.v1.MsgGrantAllowanceResponse();
return proto.provenance.marker.v1.MsgGrantAllowanceResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.provenance.marker.v1.MsgGrantAllowanceResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryRea