1#[derive(::derive_builder::Builder)]
4#[allow(clippy::derive_partial_eq_without_eq)]
5#[derive(Clone, PartialEq, ::prost::Message)]
6pub struct AppDescriptor {
7 #[prost(message, optional, tag="1")]
10 pub authn: ::core::option::Option<AuthnDescriptor>,
11 #[prost(message, optional, tag="2")]
13 pub chain: ::core::option::Option<ChainDescriptor>,
14 #[prost(message, optional, tag="3")]
16 pub codec: ::core::option::Option<CodecDescriptor>,
17 #[prost(message, optional, tag="4")]
19 pub configuration: ::core::option::Option<ConfigurationDescriptor>,
20 #[prost(message, optional, tag="5")]
22 pub query_services: ::core::option::Option<QueryServicesDescriptor>,
23 #[prost(message, optional, tag="6")]
25 pub tx: ::core::option::Option<TxDescriptor>,
26}
27#[derive(::derive_builder::Builder)]
29#[allow(clippy::derive_partial_eq_without_eq)]
30#[derive(Clone, PartialEq, ::prost::Message)]
31pub struct TxDescriptor {
32 #[prost(string, tag="1")]
36 pub fullname: ::prost::alloc::string::String,
37 #[prost(message, repeated, tag="2")]
39 pub msgs: ::prost::alloc::vec::Vec<MsgDescriptor>,
40}
41#[derive(::derive_builder::Builder)]
44#[allow(clippy::derive_partial_eq_without_eq)]
45#[derive(Clone, PartialEq, ::prost::Message)]
46pub struct AuthnDescriptor {
47 #[prost(message, repeated, tag="1")]
49 pub sign_modes: ::prost::alloc::vec::Vec<SigningModeDescriptor>,
50}
51#[derive(::derive_builder::Builder)]
56#[allow(clippy::derive_partial_eq_without_eq)]
57#[derive(Clone, PartialEq, ::prost::Message)]
58pub struct SigningModeDescriptor {
59 #[prost(string, tag="1")]
61 pub name: ::prost::alloc::string::String,
62 #[prost(int32, tag="2")]
64 pub number: i32,
65 #[prost(string, tag="3")]
68 pub authn_info_provider_method_fullname: ::prost::alloc::string::String,
69}
70#[derive(::derive_builder::Builder)]
72#[allow(clippy::derive_partial_eq_without_eq)]
73#[derive(Clone, PartialEq, ::prost::Message)]
74pub struct ChainDescriptor {
75 #[prost(string, tag="1")]
77 pub id: ::prost::alloc::string::String,
78}
79#[derive(::derive_builder::Builder)]
81#[allow(clippy::derive_partial_eq_without_eq)]
82#[derive(Clone, PartialEq, ::prost::Message)]
83pub struct CodecDescriptor {
84 #[prost(message, repeated, tag="1")]
86 pub interfaces: ::prost::alloc::vec::Vec<InterfaceDescriptor>,
87}
88#[derive(::derive_builder::Builder)]
90#[allow(clippy::derive_partial_eq_without_eq)]
91#[derive(Clone, PartialEq, ::prost::Message)]
92pub struct InterfaceDescriptor {
93 #[prost(string, tag="1")]
95 pub fullname: ::prost::alloc::string::String,
96 #[prost(message, repeated, tag="2")]
99 pub interface_accepting_messages: ::prost::alloc::vec::Vec<InterfaceAcceptingMessageDescriptor>,
100 #[prost(message, repeated, tag="3")]
102 pub interface_implementers: ::prost::alloc::vec::Vec<InterfaceImplementerDescriptor>,
103}
104#[derive(::derive_builder::Builder)]
106#[allow(clippy::derive_partial_eq_without_eq)]
107#[derive(Clone, PartialEq, ::prost::Message)]
108pub struct InterfaceImplementerDescriptor {
109 #[prost(string, tag="1")]
111 pub fullname: ::prost::alloc::string::String,
112 #[prost(string, tag="2")]
117 pub type_url: ::prost::alloc::string::String,
118}
119#[derive(::derive_builder::Builder)]
122#[allow(clippy::derive_partial_eq_without_eq)]
123#[derive(Clone, PartialEq, ::prost::Message)]
124pub struct InterfaceAcceptingMessageDescriptor {
125 #[prost(string, tag="1")]
127 pub fullname: ::prost::alloc::string::String,
128 #[prost(string, repeated, tag="2")]
132 pub field_descriptor_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
133}
134#[derive(::derive_builder::Builder)]
136#[allow(clippy::derive_partial_eq_without_eq)]
137#[derive(Clone, PartialEq, ::prost::Message)]
138pub struct ConfigurationDescriptor {
139 #[prost(string, tag="1")]
141 pub bech32_account_address_prefix: ::prost::alloc::string::String,
142}
143#[derive(::derive_builder::Builder)]
145#[allow(clippy::derive_partial_eq_without_eq)]
146#[derive(Clone, PartialEq, ::prost::Message)]
147pub struct MsgDescriptor {
148 #[prost(string, tag="1")]
150 pub msg_type_url: ::prost::alloc::string::String,
151}
152#[derive(::derive_builder::Builder)]
154#[allow(clippy::derive_partial_eq_without_eq)]
155#[derive(Clone, PartialEq, ::prost::Message)]
156pub struct GetAuthnDescriptorRequest {
157}
158#[derive(::derive_builder::Builder)]
160#[allow(clippy::derive_partial_eq_without_eq)]
161#[derive(Clone, PartialEq, ::prost::Message)]
162pub struct GetAuthnDescriptorResponse {
163 #[prost(message, optional, tag="1")]
165 pub authn: ::core::option::Option<AuthnDescriptor>,
166}
167#[derive(::derive_builder::Builder)]
169#[allow(clippy::derive_partial_eq_without_eq)]
170#[derive(Clone, PartialEq, ::prost::Message)]
171pub struct GetChainDescriptorRequest {
172}
173#[derive(::derive_builder::Builder)]
175#[allow(clippy::derive_partial_eq_without_eq)]
176#[derive(Clone, PartialEq, ::prost::Message)]
177pub struct GetChainDescriptorResponse {
178 #[prost(message, optional, tag="1")]
180 pub chain: ::core::option::Option<ChainDescriptor>,
181}
182#[derive(::derive_builder::Builder)]
184#[allow(clippy::derive_partial_eq_without_eq)]
185#[derive(Clone, PartialEq, ::prost::Message)]
186pub struct GetCodecDescriptorRequest {
187}
188#[derive(::derive_builder::Builder)]
190#[allow(clippy::derive_partial_eq_without_eq)]
191#[derive(Clone, PartialEq, ::prost::Message)]
192pub struct GetCodecDescriptorResponse {
193 #[prost(message, optional, tag="1")]
195 pub codec: ::core::option::Option<CodecDescriptor>,
196}
197#[derive(::derive_builder::Builder)]
199#[allow(clippy::derive_partial_eq_without_eq)]
200#[derive(Clone, PartialEq, ::prost::Message)]
201pub struct GetConfigurationDescriptorRequest {
202}
203#[derive(::derive_builder::Builder)]
205#[allow(clippy::derive_partial_eq_without_eq)]
206#[derive(Clone, PartialEq, ::prost::Message)]
207pub struct GetConfigurationDescriptorResponse {
208 #[prost(message, optional, tag="1")]
210 pub config: ::core::option::Option<ConfigurationDescriptor>,
211}
212#[derive(::derive_builder::Builder)]
214#[allow(clippy::derive_partial_eq_without_eq)]
215#[derive(Clone, PartialEq, ::prost::Message)]
216pub struct GetQueryServicesDescriptorRequest {
217}
218#[derive(::derive_builder::Builder)]
220#[allow(clippy::derive_partial_eq_without_eq)]
221#[derive(Clone, PartialEq, ::prost::Message)]
222pub struct GetQueryServicesDescriptorResponse {
223 #[prost(message, optional, tag="1")]
225 pub queries: ::core::option::Option<QueryServicesDescriptor>,
226}
227#[derive(::derive_builder::Builder)]
229#[allow(clippy::derive_partial_eq_without_eq)]
230#[derive(Clone, PartialEq, ::prost::Message)]
231pub struct GetTxDescriptorRequest {
232}
233#[derive(::derive_builder::Builder)]
235#[allow(clippy::derive_partial_eq_without_eq)]
236#[derive(Clone, PartialEq, ::prost::Message)]
237pub struct GetTxDescriptorResponse {
238 #[prost(message, optional, tag="1")]
241 pub tx: ::core::option::Option<TxDescriptor>,
242}
243#[derive(::derive_builder::Builder)]
245#[allow(clippy::derive_partial_eq_without_eq)]
246#[derive(Clone, PartialEq, ::prost::Message)]
247pub struct QueryServicesDescriptor {
248 #[prost(message, repeated, tag="1")]
250 pub query_services: ::prost::alloc::vec::Vec<QueryServiceDescriptor>,
251}
252#[derive(::derive_builder::Builder)]
254#[allow(clippy::derive_partial_eq_without_eq)]
255#[derive(Clone, PartialEq, ::prost::Message)]
256pub struct QueryServiceDescriptor {
257 #[prost(string, tag="1")]
259 pub fullname: ::prost::alloc::string::String,
260 #[prost(bool, tag="2")]
262 pub is_module: bool,
263 #[prost(message, repeated, tag="3")]
265 pub methods: ::prost::alloc::vec::Vec<QueryMethodDescriptor>,
266}
267#[derive(::derive_builder::Builder)]
271#[allow(clippy::derive_partial_eq_without_eq)]
272#[derive(Clone, PartialEq, ::prost::Message)]
273pub struct QueryMethodDescriptor {
274 #[prost(string, tag="1")]
276 pub name: ::prost::alloc::string::String,
277 #[prost(string, tag="2")]
280 pub full_query_path: ::prost::alloc::string::String,
281}
282include!("cosmos.base.reflection.v2alpha1.serde.rs");
283include!("cosmos.base.reflection.v2alpha1.tonic.rs");
284