@bandprotocol/bandchain.js
Version:
Library for interacting with BandChain in browser and Node.js environments
1,626 lines (1,577 loc) • 183 kB
JavaScript
// source: cosmos/base/reflection/v2alpha1/reflection.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 google_api_annotations_pb = require('../../../../google/api/annotations_pb.js')
goog.object.extend(proto, google_api_annotations_pb)
goog.exportSymbol(
'proto.cosmos.base.reflection.v2alpha1.AppDescriptor',
null,
global,
)
goog.exportSymbol(
'proto.cosmos.base.reflection.v2alpha1.AuthnDescriptor',
null,
global,
)
goog.exportSymbol(
'proto.cosmos.base.reflection.v2alpha1.ChainDescriptor',
null,
global,
)
goog.exportSymbol(
'proto.cosmos.base.reflection.v2alpha1.CodecDescriptor',
null,
global,
)
goog.exportSymbol(
'proto.cosmos.base.reflection.v2alpha1.ConfigurationDescriptor',
null,
global,
)
goog.exportSymbol(
'proto.cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest',
null,
global,
)
goog.exportSymbol(
'proto.cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse',
null,
global,
)
goog.exportSymbol(
'proto.cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest',
null,
global,
)
goog.exportSymbol(
'proto.cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse',
null,
global,
)
goog.exportSymbol(
'proto.cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest',
null,
global,
)
goog.exportSymbol(
'proto.cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse',
null,
global,
)
goog.exportSymbol(
'proto.cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest',
null,
global,
)
goog.exportSymbol(
'proto.cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse',
null,
global,
)
goog.exportSymbol(
'proto.cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorRequest',
null,
global,
)
goog.exportSymbol(
'proto.cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse',
null,
global,
)
goog.exportSymbol(
'proto.cosmos.base.reflection.v2alpha1.GetTxDescriptorRequest',
null,
global,
)
goog.exportSymbol(
'proto.cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse',
null,
global,
)
goog.exportSymbol(
'proto.cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor',
null,
global,
)
goog.exportSymbol(
'proto.cosmos.base.reflection.v2alpha1.InterfaceDescriptor',
null,
global,
)
goog.exportSymbol(
'proto.cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor',
null,
global,
)
goog.exportSymbol(
'proto.cosmos.base.reflection.v2alpha1.MsgDescriptor',
null,
global,
)
goog.exportSymbol(
'proto.cosmos.base.reflection.v2alpha1.QueryMethodDescriptor',
null,
global,
)
goog.exportSymbol(
'proto.cosmos.base.reflection.v2alpha1.QueryServiceDescriptor',
null,
global,
)
goog.exportSymbol(
'proto.cosmos.base.reflection.v2alpha1.QueryServicesDescriptor',
null,
global,
)
goog.exportSymbol(
'proto.cosmos.base.reflection.v2alpha1.SigningModeDescriptor',
null,
global,
)
goog.exportSymbol(
'proto.cosmos.base.reflection.v2alpha1.TxDescriptor',
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.cosmos.base.reflection.v2alpha1.AppDescriptor = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(proto.cosmos.base.reflection.v2alpha1.AppDescriptor, jspb.Message)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.cosmos.base.reflection.v2alpha1.AppDescriptor.displayName =
'proto.cosmos.base.reflection.v2alpha1.AppDescriptor'
}
/**
* 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.cosmos.base.reflection.v2alpha1.TxDescriptor = function (opt_data) {
jspb.Message.initialize(
this,
opt_data,
0,
-1,
proto.cosmos.base.reflection.v2alpha1.TxDescriptor.repeatedFields_,
null,
)
}
goog.inherits(proto.cosmos.base.reflection.v2alpha1.TxDescriptor, jspb.Message)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.cosmos.base.reflection.v2alpha1.TxDescriptor.displayName =
'proto.cosmos.base.reflection.v2alpha1.TxDescriptor'
}
/**
* 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.cosmos.base.reflection.v2alpha1.AuthnDescriptor = function (opt_data) {
jspb.Message.initialize(
this,
opt_data,
0,
-1,
proto.cosmos.base.reflection.v2alpha1.AuthnDescriptor.repeatedFields_,
null,
)
}
goog.inherits(
proto.cosmos.base.reflection.v2alpha1.AuthnDescriptor,
jspb.Message,
)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.cosmos.base.reflection.v2alpha1.AuthnDescriptor.displayName =
'proto.cosmos.base.reflection.v2alpha1.AuthnDescriptor'
}
/**
* 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.cosmos.base.reflection.v2alpha1.SigningModeDescriptor = function (
opt_data,
) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(
proto.cosmos.base.reflection.v2alpha1.SigningModeDescriptor,
jspb.Message,
)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.cosmos.base.reflection.v2alpha1.SigningModeDescriptor.displayName =
'proto.cosmos.base.reflection.v2alpha1.SigningModeDescriptor'
}
/**
* 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.cosmos.base.reflection.v2alpha1.ChainDescriptor = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(
proto.cosmos.base.reflection.v2alpha1.ChainDescriptor,
jspb.Message,
)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.cosmos.base.reflection.v2alpha1.ChainDescriptor.displayName =
'proto.cosmos.base.reflection.v2alpha1.ChainDescriptor'
}
/**
* 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.cosmos.base.reflection.v2alpha1.CodecDescriptor = function (opt_data) {
jspb.Message.initialize(
this,
opt_data,
0,
-1,
proto.cosmos.base.reflection.v2alpha1.CodecDescriptor.repeatedFields_,
null,
)
}
goog.inherits(
proto.cosmos.base.reflection.v2alpha1.CodecDescriptor,
jspb.Message,
)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.cosmos.base.reflection.v2alpha1.CodecDescriptor.displayName =
'proto.cosmos.base.reflection.v2alpha1.CodecDescriptor'
}
/**
* 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.cosmos.base.reflection.v2alpha1.InterfaceDescriptor = function (
opt_data,
) {
jspb.Message.initialize(
this,
opt_data,
0,
-1,
proto.cosmos.base.reflection.v2alpha1.InterfaceDescriptor.repeatedFields_,
null,
)
}
goog.inherits(
proto.cosmos.base.reflection.v2alpha1.InterfaceDescriptor,
jspb.Message,
)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.cosmos.base.reflection.v2alpha1.InterfaceDescriptor.displayName =
'proto.cosmos.base.reflection.v2alpha1.InterfaceDescriptor'
}
/**
* 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.cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor =
function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(
proto.cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor,
jspb.Message,
)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor.displayName =
'proto.cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor'
}
/**
* 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.cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor =
function (opt_data) {
jspb.Message.initialize(
this,
opt_data,
0,
-1,
proto.cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor
.repeatedFields_,
null,
)
}
goog.inherits(
proto.cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor,
jspb.Message,
)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor.displayName =
'proto.cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor'
}
/**
* 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.cosmos.base.reflection.v2alpha1.ConfigurationDescriptor = function (
opt_data,
) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(
proto.cosmos.base.reflection.v2alpha1.ConfigurationDescriptor,
jspb.Message,
)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.cosmos.base.reflection.v2alpha1.ConfigurationDescriptor.displayName =
'proto.cosmos.base.reflection.v2alpha1.ConfigurationDescriptor'
}
/**
* 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.cosmos.base.reflection.v2alpha1.MsgDescriptor = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(proto.cosmos.base.reflection.v2alpha1.MsgDescriptor, jspb.Message)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.cosmos.base.reflection.v2alpha1.MsgDescriptor.displayName =
'proto.cosmos.base.reflection.v2alpha1.MsgDescriptor'
}
/**
* 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.cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest = function (
opt_data,
) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(
proto.cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest,
jspb.Message,
)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest.displayName =
'proto.cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest'
}
/**
* 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.cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse = function (
opt_data,
) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(
proto.cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse,
jspb.Message,
)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse.displayName =
'proto.cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse'
}
/**
* 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.cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest = function (
opt_data,
) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(
proto.cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest,
jspb.Message,
)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest.displayName =
'proto.cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest'
}
/**
* 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.cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse = function (
opt_data,
) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(
proto.cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse,
jspb.Message,
)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse.displayName =
'proto.cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse'
}
/**
* 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.cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest = function (
opt_data,
) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(
proto.cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest,
jspb.Message,
)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest.displayName =
'proto.cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest'
}
/**
* 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.cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse = function (
opt_data,
) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(
proto.cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse,
jspb.Message,
)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse.displayName =
'proto.cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse'
}
/**
* 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.cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest =
function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(
proto.cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest,
jspb.Message,
)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest.displayName =
'proto.cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest'
}
/**
* 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.cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse =
function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(
proto.cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse,
jspb.Message,
)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse.displayName =
'proto.cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse'
}
/**
* 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.cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorRequest =
function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(
proto.cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorRequest,
jspb.Message,
)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorRequest.displayName =
'proto.cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorRequest'
}
/**
* 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.cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse =
function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(
proto.cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse,
jspb.Message,
)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse.displayName =
'proto.cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse'
}
/**
* 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.cosmos.base.reflection.v2alpha1.GetTxDescriptorRequest = function (
opt_data,
) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(
proto.cosmos.base.reflection.v2alpha1.GetTxDescriptorRequest,
jspb.Message,
)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.cosmos.base.reflection.v2alpha1.GetTxDescriptorRequest.displayName =
'proto.cosmos.base.reflection.v2alpha1.GetTxDescriptorRequest'
}
/**
* 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.cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse = function (
opt_data,
) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(
proto.cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse,
jspb.Message,
)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse.displayName =
'proto.cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse'
}
/**
* 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.cosmos.base.reflection.v2alpha1.QueryServicesDescriptor = function (
opt_data,
) {
jspb.Message.initialize(
this,
opt_data,
0,
-1,
proto.cosmos.base.reflection.v2alpha1.QueryServicesDescriptor
.repeatedFields_,
null,
)
}
goog.inherits(
proto.cosmos.base.reflection.v2alpha1.QueryServicesDescriptor,
jspb.Message,
)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.cosmos.base.reflection.v2alpha1.QueryServicesDescriptor.displayName =
'proto.cosmos.base.reflection.v2alpha1.QueryServicesDescriptor'
}
/**
* 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.cosmos.base.reflection.v2alpha1.QueryServiceDescriptor = function (
opt_data,
) {
jspb.Message.initialize(
this,
opt_data,
0,
-1,
proto.cosmos.base.reflection.v2alpha1.QueryServiceDescriptor
.repeatedFields_,
null,
)
}
goog.inherits(
proto.cosmos.base.reflection.v2alpha1.QueryServiceDescriptor,
jspb.Message,
)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.cosmos.base.reflection.v2alpha1.QueryServiceDescriptor.displayName =
'proto.cosmos.base.reflection.v2alpha1.QueryServiceDescriptor'
}
/**
* 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.cosmos.base.reflection.v2alpha1.QueryMethodDescriptor = function (
opt_data,
) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(
proto.cosmos.base.reflection.v2alpha1.QueryMethodDescriptor,
jspb.Message,
)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.cosmos.base.reflection.v2alpha1.QueryMethodDescriptor.displayName =
'proto.cosmos.base.reflection.v2alpha1.QueryMethodDescriptor'
}
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.cosmos.base.reflection.v2alpha1.AppDescriptor.prototype.toObject =
function (opt_includeInstance) {
return proto.cosmos.base.reflection.v2alpha1.AppDescriptor.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.cosmos.base.reflection.v2alpha1.AppDescriptor} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.cosmos.base.reflection.v2alpha1.AppDescriptor.toObject = function (
includeInstance,
msg,
) {
var f,
obj = {
authn:
(f = msg.getAuthn()) &&
proto.cosmos.base.reflection.v2alpha1.AuthnDescriptor.toObject(
includeInstance,
f,
),
chain:
(f = msg.getChain()) &&
proto.cosmos.base.reflection.v2alpha1.ChainDescriptor.toObject(
includeInstance,
f,
),
codec:
(f = msg.getCodec()) &&
proto.cosmos.base.reflection.v2alpha1.CodecDescriptor.toObject(
includeInstance,
f,
),
configuration:
(f = msg.getConfiguration()) &&
proto.cosmos.base.reflection.v2alpha1.ConfigurationDescriptor.toObject(
includeInstance,
f,
),
queryServices:
(f = msg.getQueryServices()) &&
proto.cosmos.base.reflection.v2alpha1.QueryServicesDescriptor.toObject(
includeInstance,
f,
),
tx:
(f = msg.getTx()) &&
proto.cosmos.base.reflection.v2alpha1.TxDescriptor.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.cosmos.base.reflection.v2alpha1.AppDescriptor}
*/
proto.cosmos.base.reflection.v2alpha1.AppDescriptor.deserializeBinary =
function (bytes) {
var reader = new jspb.BinaryReader(bytes)
var msg = new proto.cosmos.base.reflection.v2alpha1.AppDescriptor()
return proto.cosmos.base.reflection.v2alpha1.AppDescriptor.deserializeBinaryFromReader(
msg,
reader,
)
}
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.cosmos.base.reflection.v2alpha1.AppDescriptor} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.cosmos.base.reflection.v2alpha1.AppDescriptor}
*/
proto.cosmos.base.reflection.v2alpha1.AppDescriptor.deserializeBinaryFromReader =
function (msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break
}
var field = reader.getFieldNumber()
switch (field) {
case 1:
var value =
new proto.cosmos.base.reflection.v2alpha1.AuthnDescriptor()
reader.readMessage(
value,
proto.cosmos.base.reflection.v2alpha1.AuthnDescriptor
.deserializeBinaryFromReader,
)
msg.setAuthn(value)
break
case 2:
var value =
new proto.cosmos.base.reflection.v2alpha1.ChainDescriptor()
reader.readMessage(
value,
proto.cosmos.base.reflection.v2alpha1.ChainDescriptor
.deserializeBinaryFromReader,
)
msg.setChain(value)
break
case 3:
var value =
new proto.cosmos.base.reflection.v2alpha1.CodecDescriptor()
reader.readMessage(
value,
proto.cosmos.base.reflection.v2alpha1.CodecDescriptor
.deserializeBinaryFromReader,
)
msg.setCodec(value)
break
case 4:
var value =
new proto.cosmos.base.reflection.v2alpha1.ConfigurationDescriptor()
reader.readMessage(
value,
proto.cosmos.base.reflection.v2alpha1.ConfigurationDescriptor
.deserializeBinaryFromReader,
)
msg.setConfiguration(value)
break
case 5:
var value =
new proto.cosmos.base.reflection.v2alpha1.QueryServicesDescriptor()
reader.readMessage(
value,
proto.cosmos.base.reflection.v2alpha1.QueryServicesDescriptor
.deserializeBinaryFromReader,
)
msg.setQueryServices(value)
break
case 6:
var value = new proto.cosmos.base.reflection.v2alpha1.TxDescriptor()
reader.readMessage(
value,
proto.cosmos.base.reflection.v2alpha1.TxDescriptor
.deserializeBinaryFromReader,
)
msg.setTx(value)
break
default:
reader.skipField()
break
}
}
return msg
}
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.cosmos.base.reflection.v2alpha1.AppDescriptor.prototype.serializeBinary =
function () {
var writer = new jspb.BinaryWriter()
proto.cosmos.base.reflection.v2alpha1.AppDescriptor.serializeBinaryToWriter(
this,
writer,
)
return writer.getResultBuffer()
}
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.cosmos.base.reflection.v2alpha1.AppDescriptor} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.cosmos.base.reflection.v2alpha1.AppDescriptor.serializeBinaryToWriter =
function (message, writer) {
var f = undefined
f = message.getAuthn()
if (f != null) {
writer.writeMessage(
1,
f,
proto.cosmos.base.reflection.v2alpha1.AuthnDescriptor
.serializeBinaryToWriter,
)
}
f = message.getChain()
if (f != null) {
writer.writeMessage(
2,
f,
proto.cosmos.base.reflection.v2alpha1.ChainDescriptor
.serializeBinaryToWriter,
)
}
f = message.getCodec()
if (f != null) {
writer.writeMessage(
3,
f,
proto.cosmos.base.reflection.v2alpha1.CodecDescriptor
.serializeBinaryToWriter,
)
}
f = message.getConfiguration()
if (f != null) {
writer.writeMessage(
4,
f,
proto.cosmos.base.reflection.v2alpha1.ConfigurationDescriptor
.serializeBinaryToWriter,
)
}
f = message.getQueryServices()
if (f != null) {
writer.writeMessage(
5,
f,
proto.cosmos.base.reflection.v2alpha1.QueryServicesDescriptor
.serializeBinaryToWriter,
)
}
f = message.getTx()
if (f != null) {
writer.writeMessage(
6,
f,
proto.cosmos.base.reflection.v2alpha1.TxDescriptor
.serializeBinaryToWriter,
)
}
}
/**
* optional AuthnDescriptor authn = 1;
* @return {?proto.cosmos.base.reflection.v2alpha1.AuthnDescriptor}
*/
proto.cosmos.base.reflection.v2alpha1.AppDescriptor.prototype.getAuthn =
function () {
return /** @type{?proto.cosmos.base.reflection.v2alpha1.AuthnDescriptor} */ (
jspb.Message.getWrapperField(
this,
proto.cosmos.base.reflection.v2alpha1.AuthnDescriptor,
1,
)
)
}
/**
* @param {?proto.cosmos.base.reflection.v2alpha1.AuthnDescriptor|undefined} value
* @return {!proto.cosmos.base.reflection.v2alpha1.AppDescriptor} returns this
*/
proto.cosmos.base.reflection.v2alpha1.AppDescriptor.prototype.setAuthn =
function (value) {
return jspb.Message.setWrapperField(this, 1, value)
}
/**
* Clears the message field making it undefined.
* @return {!proto.cosmos.base.reflection.v2alpha1.AppDescriptor} returns this
*/
proto.cosmos.base.reflection.v2alpha1.AppDescriptor.prototype.clearAuthn =
function () {
return this.setAuthn(undefined)
}
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.cosmos.base.reflection.v2alpha1.AppDescriptor.prototype.hasAuthn =
function () {
return jspb.Message.getField(this, 1) != null
}
/**
* optional ChainDescriptor chain = 2;
* @return {?proto.cosmos.base.reflection.v2alpha1.ChainDescriptor}
*/
proto.cosmos.base.reflection.v2alpha1.AppDescriptor.prototype.getChain =
function () {
return /** @type{?proto.cosmos.base.reflection.v2alpha1.ChainDescriptor} */ (
jspb.Message.getWrapperField(
this,
proto.cosmos.base.reflection.v2alpha1.ChainDescriptor,
2,
)
)
}
/**
* @param {?proto.cosmos.base.reflection.v2alpha1.ChainDescriptor|undefined} value
* @return {!proto.cosmos.base.reflection.v2alpha1.AppDescriptor} returns this
*/
proto.cosmos.base.reflection.v2alpha1.AppDescriptor.prototype.setChain =
function (value) {
return jspb.Message.setWrapperField(this, 2, value)
}
/**
* Clears the message field making it undefined.
* @return {!proto.cosmos.base.reflection.v2alpha1.AppDescriptor} returns this
*/
proto.cosmos.base.reflection.v2alpha1.AppDescriptor.prototype.clearChain =
function () {
return this.setChain(undefined)
}
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.cosmos.base.reflection.v2alpha1.AppDescriptor.prototype.hasChain =
function () {
return jspb.Message.getField(this, 2) != null
}
/**
* optional CodecDescriptor codec = 3;
* @return {?proto.cosmos.base.reflection.v2alpha1.CodecDescriptor}
*/
proto.cosmos.base.reflection.v2alpha1.AppDescriptor.prototype.getCodec =
function () {
return /** @type{?proto.cosmos.base.reflection.v2alpha1.CodecDescriptor} */ (
jspb.Message.getWrapperField(
this,
proto.cosmos.base.reflection.v2alpha1.CodecDescriptor,
3,
)
)
}
/**
* @param {?proto.cosmos.base.reflection.v2alpha1.CodecDescriptor|undefined} value
* @return {!proto.cosmos.base.reflection.v2alpha1.AppDescriptor} returns this
*/
proto.cosmos.base.reflection.v2alpha1.AppDescriptor.prototype.setCodec =
function (value) {
return jspb.Message.setWrapperField(this, 3, value)
}
/**
* Clears the message field making it undefined.
* @return {!proto.cosmos.base.reflection.v2alpha1.AppDescriptor} returns this
*/
proto.cosmos.base.reflection.v2alpha1.AppDescriptor.prototype.clearCodec =
function () {
return this.setCodec(undefined)
}
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.cosmos.base.reflection.v2alpha1.AppDescriptor.prototype.hasCodec =
function () {
return jspb.Message.getField(this, 3) != null
}
/**
* optional ConfigurationDescriptor configuration = 4;
* @return {?proto.cosmos.base.reflection.v2alpha1.ConfigurationDescriptor}
*/
proto.cosmos.base.reflection.v2alpha1.AppDescriptor.prototype.getConfiguration =
function () {
return /** @type{?proto.cosmos.base.reflection.v2alpha1.ConfigurationDescriptor} */ (
jspb.Message.getWrapperField(
this,
proto.cosmos.base.reflection.v2alpha1.ConfigurationDescriptor,
4,
)
)
}
/**
* @param {?proto.cosmos.base.reflection.v2alpha1.ConfigurationDescriptor|undefined} value
* @return {!proto.cosmos.base.reflection.v2alpha1.AppDescriptor} returns this
*/
proto.cosmos.base.reflection.v2alpha1.AppDescriptor.prototype.setConfiguration =
function (value) {
return jspb.Message.setWrapperField(this, 4, value)
}
/**
* Clears the message field making it undefined.
* @return {!proto.cosmos.base.reflection.v2alpha1.AppDescriptor} returns this
*/
proto.cosmos.base.reflection.v2alpha1.AppDescriptor.prototype.clearConfiguration =
function () {
return this.setConfiguration(undefined)
}
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.cosmos.base.reflection.v2alpha1.AppDescriptor.prototype.hasConfiguration =
function () {
return jspb.Message.getField(this, 4) != null
}
/**
* optional QueryServicesDescriptor query_services = 5;
* @return {?proto.cosmos.base.reflection.v2alpha1.QueryServicesDescriptor}
*/
proto.cosmos.base.reflection.v2alpha1.AppDescriptor.prototype.getQueryServices =
function () {
return /** @type{?proto.cosmos.base.reflection.v2alpha1.QueryServicesDescriptor} */ (
jspb.Message.getWrapperField(
this,
proto.cosmos.base.reflection.v2alpha1.QueryServicesDescriptor,
5,
)
)
}
/**
* @param {?proto.cosmos.base.reflection.v2alpha1.QueryServicesDescriptor|undefined} value
* @return {!proto.cosmos.base.reflection.v2alpha1.AppDescriptor} returns this
*/
proto.cosmos.base.reflection.v2alpha1.AppDescriptor.prototype.setQueryServices =
function (value) {
return jspb.Message.setWrapperField(this, 5, value)
}
/**
* Clears the message field making it undefined.
* @return {!proto.cosmos.base.reflection.v2alpha1.AppDescriptor} returns this
*/
proto.cosmos.base.reflection.v2alpha1.AppDescriptor.prototype.clearQueryServices =
function () {
return this.setQueryServices(undefined)
}
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.cosmos.base.reflection.v2alpha1.AppDescriptor.prototype.hasQueryServices =
function () {
return jspb.Message.getField(this, 5) != null
}
/**
* optional TxDescriptor tx = 6;
* @return {?proto.cosmos.base.reflection.v2alpha1.TxDescriptor}
*/
proto.cosmos.base.reflection.v2alpha1.AppDescriptor.prototype.getTx =
function () {
return /** @type{?proto.cosmos.base.reflection.v2alpha1.TxDescriptor} */ (
jspb.Message.getWrapperField(
this,
proto.cosmos.base.reflection.v2alpha1.TxDescriptor,
6,
)
)
}
/**
* @param {?proto.cosmos.base.reflection.v2alpha1.TxDescriptor|undefined} value
* @return {!proto.cosmos.base.reflection.v2alpha1.AppDescriptor} returns this
*/
proto.cosmos.base.reflection.v2alpha1.AppDescriptor.prototype.setTx = function (
value,
) {
return jspb.Message.setWrapperField(this, 6, value)
}
/**
* Clears the message field making it undefined.
* @return {!proto.cosmos.base.reflection.v2alpha1.AppDescriptor} returns this
*/
proto.cosmos.base.reflection.v2alpha1.AppDescriptor.prototype.clearTx =
function () {
return this.setTx(undefined)
}
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.cosmos.base.reflection.v2alpha1.AppDescriptor.prototype.hasTx =
function () {
return jspb.Message.getField(this, 6) != null
}
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.cosmos.base.reflection.v2alpha1.TxDescriptor.repeatedFields_ = [2]
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.cosmos.base.reflection.v2alpha1.TxDescriptor.prototype.toObject =
function (opt_includeInstance) {
return proto.cosmos.base.reflection.v2alpha1.TxDescriptor.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.cosmos.base.reflection.v2alpha1.TxDescriptor} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.cosmos.base.reflection.v2alpha1.TxDescriptor.toObject = function (
includeInstance,
msg,
) {
var f,
obj = {
fullname: jspb.Message.getFieldWithDefault(msg, 1, ''),
msgsList: jspb.Message.toObjectList(
msg.getMsgsList(),
proto.cosmos.base.reflection.v2alpha1.MsgDescriptor.toObject,
includeInstance,
),
}
if (includeInstance) {
obj.$jspbMessageInstance = msg
}
return obj
}
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.cosmos.base.reflection.v2alpha1.TxDescriptor}
*/
proto.cosmos.base.reflection.v2alpha1.TxDescriptor.deserializeBinary =
function (bytes) {
var reader = new jspb.BinaryReader(bytes)
var msg = new proto.cosmos.base.reflection.v2alpha1.TxDescriptor()
return proto.cosmos.base.reflection.v2alpha1.TxDescriptor.deserializeBinaryFromReader(
msg,
reader,
)
}
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.cosmos.base.reflection.v2alpha1.TxDescriptor} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.cosmos.base.reflection.v2alpha1.TxDescriptor}
*/
proto.cosmos.base.reflection.v2alpha1.TxDescriptor.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.setFullname(value)
break
case 2:
var value = new proto.cosmos.base.reflection.v2alpha1.MsgDescriptor()
reader.readMessage(
value,
proto.cosmos.base.reflection.v2alpha1.MsgDescriptor
.deserializeBinaryFromReader,
)
msg.addMsgs(value)
break
default:
reader.skipField()
break
}
}
return msg
}
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.cosmos.base.reflection.v2alpha1.TxDescriptor.prototype.serializeBinary =
function () {
var writer = new jspb.BinaryWriter()
proto.cosmos.base.reflection.v2alpha1.TxDescriptor.serializeBinaryToWriter(
this,
writer,
)
return writer.getResultBuffer()
}
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.cosmos.base.reflection.v2alpha1.TxDescriptor} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.cosmos.base.reflection.v2alpha1.TxDescriptor.serializeBinaryToWriter =
function (message, writer) {
var f = undefined
f = message.getFullname()
if (f.length > 0) {
writer.writeString(1, f)
}
f = message.getMsgsList()
if (f.length > 0) {
writer.writeRepeatedMessage(
2,
f,
proto.cosmos.base.reflection.v2alpha1.MsgDescriptor
.serializeBinaryToWriter,
)
}
}
/**
* optional string fullname = 1;
* @return {string}
*/
proto.cosmos.base.reflection.v2alpha1.TxDescriptor.prototype.getFullname =
function () {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''))
}
/**
* @param {string} value
* @return {!proto.cosmos.base.reflection.v2alpha1.TxDescriptor} returns this
*/
proto.cosmos.base.reflection.v2alpha1.TxDescriptor.prototype.setFullname =
function (value) {
return jspb.Message.setProto3StringField(this, 1, value)
}
/**
* repeated MsgDescriptor msgs = 2;
* @return {!Array<!proto.cosmos.base.reflection.v2alpha1.MsgDescriptor>}
*/
proto.cosmos.base.reflection.v2alpha1.TxDescriptor.prototype.getMsgsList =
function () {
return /** @type{!Array<!proto.cosmos.base.reflection.v2alpha1.MsgDescriptor>} */ (
jspb.Message.getRepeatedWrapperField(
this,
proto.cosmos.base.reflection.v2alpha1.MsgDescriptor,
2,
)
)
}
/**
* @param {!Array<!proto.cosmos.base.reflection.v2alpha1.MsgDescriptor>} value
* @return {!proto.cosmos.base.reflection.v2alpha1.TxDescriptor} returns this
*/
proto.cosmos.base.reflection.v2alpha1.TxDescriptor.prototype.setMsgsList =
function (value) {
return jspb.Message.setRepeatedWrapperField(this, 2, value)
}
/**
* @param {!proto.cosmos.base.reflection.v2alpha1.MsgDescriptor=} opt_value
* @param {number=} opt_index
* @return {!proto.cosmos.base.reflection.v2alpha1.MsgDescriptor}
*/
proto.cosmos.base.reflection.v2alpha1.TxDescriptor.prototype.addMsgs =
function (opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(
this,
2,
opt_value,
proto.cosmos.base.reflection.v2alpha1.MsgDescriptor,
opt_index,
)
}
/**
* Clears the list making it empty but non-null.
* @return {!proto.cosmos.base.reflection.v2alpha1.TxDescriptor} returns this
*/
proto.cosmos.base.reflection.v2alpha1.TxDescriptor.prototype.clearMsgsList =
function () {
return this.setMsgsList([])
}
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.cosmos.base.reflection.v2alpha1.AuthnDescriptor.repeatedFields_ = [1]
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.cosmos.base.reflection.v2alpha1.AuthnDescriptor.prototype.toObject =
function (opt_includeInstance) {
return proto.cosmos.base.refle