// @generated by protoc-gen-es v1.3.1 with parameter "target=ts" // @generated from file ibc/applications/interchain_accounts/controller/v1/query.proto (package ibc.applications.interchain_accounts.controller.v1, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; import { Params } from "./controller_pb.js"; /** * QueryInterchainAccountRequest is the request type for the Query/InterchainAccount RPC method. * * @generated from message ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountRequest */ export class QueryInterchainAccountRequest extends Message { /** * @generated from field: string owner = 1; */ owner = ""; /** * @generated from field: string connection_id = 2; */ connectionId = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "owner", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "connection_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryInterchainAccountRequest { return new QueryInterchainAccountRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryInterchainAccountRequest { return new QueryInterchainAccountRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryInterchainAccountRequest { return new QueryInterchainAccountRequest().fromJsonString(jsonString, options); } static equals(a: QueryInterchainAccountRequest | PlainMessage | undefined, b: QueryInterchainAccountRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryInterchainAccountRequest, a, b); } } /** * QueryInterchainAccountResponse the response type for the Query/InterchainAccount RPC method. * * @generated from message ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountResponse */ export class QueryInterchainAccountResponse extends Message { /** * @generated from field: string address = 1; */ address = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryInterchainAccountResponse { return new QueryInterchainAccountResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryInterchainAccountResponse { return new QueryInterchainAccountResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryInterchainAccountResponse { return new QueryInterchainAccountResponse().fromJsonString(jsonString, options); } static equals(a: QueryInterchainAccountResponse | PlainMessage | undefined, b: QueryInterchainAccountResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryInterchainAccountResponse, a, b); } } /** * QueryParamsRequest is the request type for the Query/Params RPC method. * * @generated from message ibc.applications.interchain_accounts.controller.v1.QueryParamsRequest */ export class QueryParamsRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.applications.interchain_accounts.controller.v1.QueryParamsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryParamsRequest { return new QueryParamsRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryParamsRequest { return new QueryParamsRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryParamsRequest { return new QueryParamsRequest().fromJsonString(jsonString, options); } static equals(a: QueryParamsRequest | PlainMessage | undefined, b: QueryParamsRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryParamsRequest, a, b); } } /** * QueryParamsResponse is the response type for the Query/Params RPC method. * * @generated from message ibc.applications.interchain_accounts.controller.v1.QueryParamsResponse */ export class QueryParamsResponse extends Message { /** * params defines the parameters of the module. * * @generated from field: ibc.applications.interchain_accounts.controller.v1.Params params = 1; */ params?: Params; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.applications.interchain_accounts.controller.v1.QueryParamsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "params", kind: "message", T: Params }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryParamsResponse { return new QueryParamsResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryParamsResponse { return new QueryParamsResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryParamsResponse { return new QueryParamsResponse().fromJsonString(jsonString, options); } static equals(a: QueryParamsResponse | PlainMessage | undefined, b: QueryParamsResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryParamsResponse, a, b); } }