/// import { ChannelCredentials, ChannelOptions, UntypedServiceImplementation, handleUnaryCall, Client, ClientUnaryCall, Metadata, CallOptions, ServiceError } from '@grpc/grpc-js'; import _m0 from 'protobufjs/minimal'; import { CatalogSpec, CatalogUpdateSpec, Catalog } from '../../../../yandex/cloud/trino/v1/catalog'; import { FieldMask } from '../../../../google/protobuf/field_mask'; import { Operation } from '../../../../yandex/cloud/operation/operation'; export declare const protobufPackage = "yandex.cloud.trino.v1"; export interface GetCatalogRequest { /** ID of the Trino Cluster resource which contains the requested catalog. */ clusterId: string; /** ID of the Trino Catalog resource. */ catalogId: string; } export interface ListCatalogsRequest { /** ID of the cluster to list Trino Catalogs in. */ clusterId: string; /** * The maximum number of results per page to return. If the number of available * results is larger than [page_size], the service returns a [ListCatalogsResponse.next_page_token] * that can be used to get the next page of results in subsequent list requests. */ pageSize: number; /** * Page token. To get the next page of results, set [page_token] to the [ListCatalogsResponse.next_page_token] * returned by the previous list request. */ pageToken: string; /** * A filter expression that filters resources listed in the response. * The expression must specify: * 1. The field name. Currently you can only use filtering with the [Catalog.name] field. * 2. An `=` operator. * 3. The value in double quotes (`"`). Must be 1-63 characters long and match the regular expression `[a-zA-Z0-9_-]+`. */ filter: string; } export interface ListCatalogsResponse { /** List of Trino Catalog resources. */ catalogs: Catalog[]; /** * This token allows you to get the next page of results for list requests. If the number of results * is larger than [ListCatalogsRequest.page_size], use the [next_page_token] as the value * for the [ListCatalogsRequest.page_token] parameter in the next list request. Each subsequent * list request will have its own [next_page_token] to continue paging through the results. */ nextPageToken: string; } export interface CreateCatalogRequest { /** ID of the Trino Cluster where the catalog should be created. */ clusterId: string; /** Specification of the catalog to be created. */ catalog?: CatalogSpec; } export interface CreateCatalogMetadata { /** ID of the Trino cluster where a catalog is being created. */ clusterId: string; /** ID of the catalog that is being created. */ catalogId: string; } export interface UpdateCatalogRequest { /** ID of the Trino Cluster that contains the catalog to update. */ clusterId: string; /** ID of the catalog to update. */ catalogId: string; /** Field mask that specifies which fields of the catalog should be updated. */ updateMask?: FieldMask; /** New values for the specified fields. */ catalog?: CatalogUpdateSpec; } export interface UpdateCatalogMetadata { /** ID of the Trino cluster where a catalog is being updated. */ clusterId: string; /** ID of the catalog that is being updated. */ catalogId: string; } export interface DeleteCatalogRequest { /** ID of the Trino Cluster resource which contains the requested catalog. */ clusterId: string; /** ID of the Trino Catalog resource. */ catalogId: string; } export interface DeleteCatalogMetadata { /** ID of the Trino cluster where a catalog is being deleted. */ clusterId: string; /** ID of the catalog that is being deleted. */ catalogId: string; } export declare const GetCatalogRequest: { encode(message: GetCatalogRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GetCatalogRequest; fromJSON(object: any): GetCatalogRequest; toJSON(message: GetCatalogRequest): unknown; fromPartial, never>>(object: I): GetCatalogRequest; }; export declare const ListCatalogsRequest: { encode(message: ListCatalogsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListCatalogsRequest; fromJSON(object: any): ListCatalogsRequest; toJSON(message: ListCatalogsRequest): unknown; fromPartial, never>>(object: I): ListCatalogsRequest; }; export declare const ListCatalogsResponse: { encode(message: ListCatalogsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListCatalogsResponse; fromJSON(object: any): ListCatalogsResponse; toJSON(message: ListCatalogsResponse): unknown; fromPartial, never>) | undefined; } & Record, never>) | undefined; filesystem?: ({ s3?: {} | undefined; externalS3?: { awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } | undefined; } & { s3?: ({} & {} & Record, never>) | undefined; externalS3?: ({ awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } & { awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; additionalProperties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; iceberg?: ({ metastore?: { hive?: { uri?: string | undefined; } | undefined; } | undefined; filesystem?: { s3?: {} | undefined; externalS3?: { awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } | undefined; } | undefined; additionalProperties?: { [x: string]: string | undefined; } | undefined; } & { metastore?: ({ hive?: { uri?: string | undefined; } | undefined; } & { hive?: ({ uri?: string | undefined; } & { uri?: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; filesystem?: ({ s3?: {} | undefined; externalS3?: { awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } | undefined; } & { s3?: ({} & {} & Record, never>) | undefined; externalS3?: ({ awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } & { awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; additionalProperties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; deltaLake?: ({ metastore?: { hive?: { uri?: string | undefined; } | undefined; } | undefined; filesystem?: { s3?: {} | undefined; externalS3?: { awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } | undefined; } | undefined; additionalProperties?: { [x: string]: string | undefined; } | undefined; } & { metastore?: ({ hive?: { uri?: string | undefined; } | undefined; } & { hive?: ({ uri?: string | undefined; } & { uri?: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; filesystem?: ({ s3?: {} | undefined; externalS3?: { awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } | undefined; } & { s3?: ({} & {} & Record, never>) | undefined; externalS3?: ({ awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } & { awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; additionalProperties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; postgresql?: ({ connection?: { onPremise?: { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } | undefined; connectionManager?: { connectionId?: string | undefined; database?: string | undefined; connectionProperties?: { [x: string]: string | undefined; } | undefined; } | undefined; } | undefined; additionalProperties?: { [x: string]: string | undefined; } | undefined; } & { connection?: ({ onPremise?: { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } | undefined; connectionManager?: { connectionId?: string | undefined; database?: string | undefined; connectionProperties?: { [x: string]: string | undefined; } | undefined; } | undefined; } & { onPremise?: ({ connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } & { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } & Record, never>) | undefined; connectionManager?: ({ connectionId?: string | undefined; database?: string | undefined; connectionProperties?: { [x: string]: string | undefined; } | undefined; } & { connectionId?: string | undefined; database?: string | undefined; connectionProperties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; additionalProperties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; clickhouse?: ({ connection?: { onPremise?: { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } | undefined; connectionManager?: { connectionId?: string | undefined; database?: string | undefined; connectionProperties?: { [x: string]: string | undefined; } | undefined; } | undefined; } | undefined; additionalProperties?: { [x: string]: string | undefined; } | undefined; } & { connection?: ({ onPremise?: { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } | undefined; connectionManager?: { connectionId?: string | undefined; database?: string | undefined; connectionProperties?: { [x: string]: string | undefined; } | undefined; } | undefined; } & { onPremise?: ({ connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } & { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } & Record, never>) | undefined; connectionManager?: ({ connectionId?: string | undefined; database?: string | undefined; connectionProperties?: { [x: string]: string | undefined; } | undefined; } & { connectionId?: string | undefined; database?: string | undefined; connectionProperties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; additionalProperties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; tpch?: ({ additionalProperties?: { [x: string]: string | undefined; } | undefined; } & { additionalProperties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; tpcds?: ({ additionalProperties?: { [x: string]: string | undefined; } | undefined; } & { additionalProperties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; oracle?: ({ connection?: { onPremise?: { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } | undefined; } | undefined; additionalProperties?: { [x: string]: string | undefined; } | undefined; } & { connection?: ({ onPremise?: { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } | undefined; } & { onPremise?: ({ connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } & { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; additionalProperties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; sqlserver?: ({ connection?: { onPremise?: { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } | undefined; } | undefined; additionalProperties?: { [x: string]: string | undefined; } | undefined; } & { connection?: ({ onPremise?: { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } | undefined; } & { onPremise?: ({ connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } & { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; additionalProperties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; description?: string | undefined; labels?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>)[] & Record, never>) | undefined; nextPageToken?: string | undefined; } & Record, never>>(object: I): ListCatalogsResponse; }; export declare const CreateCatalogRequest: { encode(message: CreateCatalogRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CreateCatalogRequest; fromJSON(object: any): CreateCatalogRequest; toJSON(message: CreateCatalogRequest): unknown; fromPartial, never>) | undefined; } & Record, never>) | undefined; filesystem?: ({ s3?: {} | undefined; externalS3?: { awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } | undefined; } & { s3?: ({} & {} & Record, never>) | undefined; externalS3?: ({ awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } & { awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; additionalProperties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; iceberg?: ({ metastore?: { hive?: { uri?: string | undefined; } | undefined; } | undefined; filesystem?: { s3?: {} | undefined; externalS3?: { awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } | undefined; } | undefined; additionalProperties?: { [x: string]: string | undefined; } | undefined; } & { metastore?: ({ hive?: { uri?: string | undefined; } | undefined; } & { hive?: ({ uri?: string | undefined; } & { uri?: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; filesystem?: ({ s3?: {} | undefined; externalS3?: { awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } | undefined; } & { s3?: ({} & {} & Record, never>) | undefined; externalS3?: ({ awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } & { awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; additionalProperties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; deltaLake?: ({ metastore?: { hive?: { uri?: string | undefined; } | undefined; } | undefined; filesystem?: { s3?: {} | undefined; externalS3?: { awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } | undefined; } | undefined; additionalProperties?: { [x: string]: string | undefined; } | undefined; } & { metastore?: ({ hive?: { uri?: string | undefined; } | undefined; } & { hive?: ({ uri?: string | undefined; } & { uri?: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; filesystem?: ({ s3?: {} | undefined; externalS3?: { awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } | undefined; } & { s3?: ({} & {} & Record, never>) | undefined; externalS3?: ({ awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } & { awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; additionalProperties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; postgresql?: ({ connection?: { onPremise?: { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } | undefined; connectionManager?: { connectionId?: string | undefined; database?: string | undefined; connectionProperties?: { [x: string]: string | undefined; } | undefined; } | undefined; } | undefined; additionalProperties?: { [x: string]: string | undefined; } | undefined; } & { connection?: ({ onPremise?: { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } | undefined; connectionManager?: { connectionId?: string | undefined; database?: string | undefined; connectionProperties?: { [x: string]: string | undefined; } | undefined; } | undefined; } & { onPremise?: ({ connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } & { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } & Record, never>) | undefined; connectionManager?: ({ connectionId?: string | undefined; database?: string | undefined; connectionProperties?: { [x: string]: string | undefined; } | undefined; } & { connectionId?: string | undefined; database?: string | undefined; connectionProperties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; additionalProperties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; clickhouse?: ({ connection?: { onPremise?: { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } | undefined; connectionManager?: { connectionId?: string | undefined; database?: string | undefined; connectionProperties?: { [x: string]: string | undefined; } | undefined; } | undefined; } | undefined; additionalProperties?: { [x: string]: string | undefined; } | undefined; } & { connection?: ({ onPremise?: { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } | undefined; connectionManager?: { connectionId?: string | undefined; database?: string | undefined; connectionProperties?: { [x: string]: string | undefined; } | undefined; } | undefined; } & { onPremise?: ({ connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } & { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } & Record, never>) | undefined; connectionManager?: ({ connectionId?: string | undefined; database?: string | undefined; connectionProperties?: { [x: string]: string | undefined; } | undefined; } & { connectionId?: string | undefined; database?: string | undefined; connectionProperties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; additionalProperties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; tpch?: ({ additionalProperties?: { [x: string]: string | undefined; } | undefined; } & { additionalProperties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; tpcds?: ({ additionalProperties?: { [x: string]: string | undefined; } | undefined; } & { additionalProperties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; oracle?: ({ connection?: { onPremise?: { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } | undefined; } | undefined; additionalProperties?: { [x: string]: string | undefined; } | undefined; } & { connection?: ({ onPremise?: { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } | undefined; } & { onPremise?: ({ connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } & { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; additionalProperties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; sqlserver?: ({ connection?: { onPremise?: { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } | undefined; } | undefined; additionalProperties?: { [x: string]: string | undefined; } | undefined; } & { connection?: ({ onPremise?: { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } | undefined; } & { onPremise?: ({ connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } & { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; additionalProperties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; description?: string | undefined; labels?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; } & Record, never>>(object: I): CreateCatalogRequest; }; export declare const CreateCatalogMetadata: { encode(message: CreateCatalogMetadata, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CreateCatalogMetadata; fromJSON(object: any): CreateCatalogMetadata; toJSON(message: CreateCatalogMetadata): unknown; fromPartial, never>>(object: I): CreateCatalogMetadata; }; export declare const UpdateCatalogRequest: { encode(message: UpdateCatalogRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): UpdateCatalogRequest; fromJSON(object: any): UpdateCatalogRequest; toJSON(message: UpdateCatalogRequest): unknown; fromPartial, never>) | undefined; } & Record, never>) | undefined; catalog?: ({ name?: string | undefined; connector?: { hive?: { metastore?: { hive?: { uri?: string | undefined; } | undefined; } | undefined; filesystem?: { s3?: {} | undefined; externalS3?: { awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } | undefined; } | undefined; additionalProperties?: { [x: string]: string | undefined; } | undefined; } | undefined; iceberg?: { metastore?: { hive?: { uri?: string | undefined; } | undefined; } | undefined; filesystem?: { s3?: {} | undefined; externalS3?: { awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } | undefined; } | undefined; additionalProperties?: { [x: string]: string | undefined; } | undefined; } | undefined; deltaLake?: { metastore?: { hive?: { uri?: string | undefined; } | undefined; } | undefined; filesystem?: { s3?: {} | undefined; externalS3?: { awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } | undefined; } | undefined; additionalProperties?: { [x: string]: string | undefined; } | undefined; } | undefined; postgresql?: { connection?: { onPremise?: { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } | undefined; connectionManager?: { connectionId?: string | undefined; database?: string | undefined; connectionProperties?: { [x: string]: string | undefined; } | undefined; } | undefined; } | undefined; additionalProperties?: { [x: string]: string | undefined; } | undefined; } | undefined; clickhouse?: { connection?: { onPremise?: { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } | undefined; connectionManager?: { connectionId?: string | undefined; database?: string | undefined; connectionProperties?: { [x: string]: string | undefined; } | undefined; } | undefined; } | undefined; additionalProperties?: { [x: string]: string | undefined; } | undefined; } | undefined; tpch?: { additionalProperties?: { [x: string]: string | undefined; } | undefined; } | undefined; tpcds?: { additionalProperties?: { [x: string]: string | undefined; } | undefined; } | undefined; oracle?: { connection?: { onPremise?: { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } | undefined; } | undefined; additionalProperties?: { [x: string]: string | undefined; } | undefined; } | undefined; sqlserver?: { connection?: { onPremise?: { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } | undefined; } | undefined; additionalProperties?: { [x: string]: string | undefined; } | undefined; } | undefined; } | undefined; description?: string | undefined; labels?: { [x: string]: string | undefined; } | undefined; } & { name?: string | undefined; connector?: ({ hive?: { metastore?: { hive?: { uri?: string | undefined; } | undefined; } | undefined; filesystem?: { s3?: {} | undefined; externalS3?: { awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } | undefined; } | undefined; additionalProperties?: { [x: string]: string | undefined; } | undefined; } | undefined; iceberg?: { metastore?: { hive?: { uri?: string | undefined; } | undefined; } | undefined; filesystem?: { s3?: {} | undefined; externalS3?: { awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } | undefined; } | undefined; additionalProperties?: { [x: string]: string | undefined; } | undefined; } | undefined; deltaLake?: { metastore?: { hive?: { uri?: string | undefined; } | undefined; } | undefined; filesystem?: { s3?: {} | undefined; externalS3?: { awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } | undefined; } | undefined; additionalProperties?: { [x: string]: string | undefined; } | undefined; } | undefined; postgresql?: { connection?: { onPremise?: { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } | undefined; connectionManager?: { connectionId?: string | undefined; database?: string | undefined; connectionProperties?: { [x: string]: string | undefined; } | undefined; } | undefined; } | undefined; additionalProperties?: { [x: string]: string | undefined; } | undefined; } | undefined; clickhouse?: { connection?: { onPremise?: { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } | undefined; connectionManager?: { connectionId?: string | undefined; database?: string | undefined; connectionProperties?: { [x: string]: string | undefined; } | undefined; } | undefined; } | undefined; additionalProperties?: { [x: string]: string | undefined; } | undefined; } | undefined; tpch?: { additionalProperties?: { [x: string]: string | undefined; } | undefined; } | undefined; tpcds?: { additionalProperties?: { [x: string]: string | undefined; } | undefined; } | undefined; oracle?: { connection?: { onPremise?: { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } | undefined; } | undefined; additionalProperties?: { [x: string]: string | undefined; } | undefined; } | undefined; sqlserver?: { connection?: { onPremise?: { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } | undefined; } | undefined; additionalProperties?: { [x: string]: string | undefined; } | undefined; } | undefined; } & { hive?: ({ metastore?: { hive?: { uri?: string | undefined; } | undefined; } | undefined; filesystem?: { s3?: {} | undefined; externalS3?: { awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } | undefined; } | undefined; additionalProperties?: { [x: string]: string | undefined; } | undefined; } & { metastore?: ({ hive?: { uri?: string | undefined; } | undefined; } & { hive?: ({ uri?: string | undefined; } & { uri?: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; filesystem?: ({ s3?: {} | undefined; externalS3?: { awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } | undefined; } & { s3?: ({} & {} & Record, never>) | undefined; externalS3?: ({ awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } & { awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; additionalProperties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; iceberg?: ({ metastore?: { hive?: { uri?: string | undefined; } | undefined; } | undefined; filesystem?: { s3?: {} | undefined; externalS3?: { awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } | undefined; } | undefined; additionalProperties?: { [x: string]: string | undefined; } | undefined; } & { metastore?: ({ hive?: { uri?: string | undefined; } | undefined; } & { hive?: ({ uri?: string | undefined; } & { uri?: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; filesystem?: ({ s3?: {} | undefined; externalS3?: { awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } | undefined; } & { s3?: ({} & {} & Record, never>) | undefined; externalS3?: ({ awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } & { awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; additionalProperties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; deltaLake?: ({ metastore?: { hive?: { uri?: string | undefined; } | undefined; } | undefined; filesystem?: { s3?: {} | undefined; externalS3?: { awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } | undefined; } | undefined; additionalProperties?: { [x: string]: string | undefined; } | undefined; } & { metastore?: ({ hive?: { uri?: string | undefined; } | undefined; } & { hive?: ({ uri?: string | undefined; } & { uri?: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; filesystem?: ({ s3?: {} | undefined; externalS3?: { awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } | undefined; } & { s3?: ({} & {} & Record, never>) | undefined; externalS3?: ({ awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } & { awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsEndpoint?: string | undefined; awsRegion?: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; additionalProperties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; postgresql?: ({ connection?: { onPremise?: { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } | undefined; connectionManager?: { connectionId?: string | undefined; database?: string | undefined; connectionProperties?: { [x: string]: string | undefined; } | undefined; } | undefined; } | undefined; additionalProperties?: { [x: string]: string | undefined; } | undefined; } & { connection?: ({ onPremise?: { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } | undefined; connectionManager?: { connectionId?: string | undefined; database?: string | undefined; connectionProperties?: { [x: string]: string | undefined; } | undefined; } | undefined; } & { onPremise?: ({ connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } & { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } & Record, never>) | undefined; connectionManager?: ({ connectionId?: string | undefined; database?: string | undefined; connectionProperties?: { [x: string]: string | undefined; } | undefined; } & { connectionId?: string | undefined; database?: string | undefined; connectionProperties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; additionalProperties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; clickhouse?: ({ connection?: { onPremise?: { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } | undefined; connectionManager?: { connectionId?: string | undefined; database?: string | undefined; connectionProperties?: { [x: string]: string | undefined; } | undefined; } | undefined; } | undefined; additionalProperties?: { [x: string]: string | undefined; } | undefined; } & { connection?: ({ onPremise?: { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } | undefined; connectionManager?: { connectionId?: string | undefined; database?: string | undefined; connectionProperties?: { [x: string]: string | undefined; } | undefined; } | undefined; } & { onPremise?: ({ connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } & { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } & Record, never>) | undefined; connectionManager?: ({ connectionId?: string | undefined; database?: string | undefined; connectionProperties?: { [x: string]: string | undefined; } | undefined; } & { connectionId?: string | undefined; database?: string | undefined; connectionProperties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; additionalProperties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; tpch?: ({ additionalProperties?: { [x: string]: string | undefined; } | undefined; } & { additionalProperties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; tpcds?: ({ additionalProperties?: { [x: string]: string | undefined; } | undefined; } & { additionalProperties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; oracle?: ({ connection?: { onPremise?: { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } | undefined; } | undefined; additionalProperties?: { [x: string]: string | undefined; } | undefined; } & { connection?: ({ onPremise?: { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } | undefined; } & { onPremise?: ({ connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } & { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; additionalProperties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; sqlserver?: ({ connection?: { onPremise?: { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } | undefined; } | undefined; additionalProperties?: { [x: string]: string | undefined; } | undefined; } & { connection?: ({ onPremise?: { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } | undefined; } & { onPremise?: ({ connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } & { connectionUrl?: string | undefined; userName?: string | undefined; password?: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; additionalProperties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; description?: string | undefined; labels?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; } & Record, never>>(object: I): UpdateCatalogRequest; }; export declare const UpdateCatalogMetadata: { encode(message: UpdateCatalogMetadata, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): UpdateCatalogMetadata; fromJSON(object: any): UpdateCatalogMetadata; toJSON(message: UpdateCatalogMetadata): unknown; fromPartial, never>>(object: I): UpdateCatalogMetadata; }; export declare const DeleteCatalogRequest: { encode(message: DeleteCatalogRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): DeleteCatalogRequest; fromJSON(object: any): DeleteCatalogRequest; toJSON(message: DeleteCatalogRequest): unknown; fromPartial, never>>(object: I): DeleteCatalogRequest; }; export declare const DeleteCatalogMetadata: { encode(message: DeleteCatalogMetadata, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): DeleteCatalogMetadata; fromJSON(object: any): DeleteCatalogMetadata; toJSON(message: DeleteCatalogMetadata): unknown; fromPartial, never>>(object: I): DeleteCatalogMetadata; }; /** A set of methods for managing Trino Cluster Catalog resources. */ export declare const CatalogServiceService: { /** Returns the specified Trino Catalog resource. */ readonly get: { readonly path: "/yandex.cloud.trino.v1.CatalogService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetCatalogRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => GetCatalogRequest; readonly responseSerialize: (value: Catalog) => Buffer; readonly responseDeserialize: (value: Buffer) => Catalog; }; /** Retrieves a list of Trino Catalog resources. */ readonly list: { readonly path: "/yandex.cloud.trino.v1.CatalogService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListCatalogsRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => ListCatalogsRequest; readonly responseSerialize: (value: ListCatalogsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListCatalogsResponse; }; /** Creates a new Trino Catalog. */ readonly create: { readonly path: "/yandex.cloud.trino.v1.CatalogService/Create"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: CreateCatalogRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => CreateCatalogRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; /** Updates the specified Trino Catalog. */ readonly update: { readonly path: "/yandex.cloud.trino.v1.CatalogService/Update"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateCatalogRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => UpdateCatalogRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; /** Deletes the specified Trino Catalog. */ readonly delete: { readonly path: "/yandex.cloud.trino.v1.CatalogService/Delete"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeleteCatalogRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => DeleteCatalogRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; }; export interface CatalogServiceServer extends UntypedServiceImplementation { /** Returns the specified Trino Catalog resource. */ get: handleUnaryCall; /** Retrieves a list of Trino Catalog resources. */ list: handleUnaryCall; /** Creates a new Trino Catalog. */ create: handleUnaryCall; /** Updates the specified Trino Catalog. */ update: handleUnaryCall; /** Deletes the specified Trino Catalog. */ delete: handleUnaryCall; } export interface CatalogServiceClient extends Client { /** Returns the specified Trino Catalog resource. */ get(request: GetCatalogRequest, callback: (error: ServiceError | null, response: Catalog) => void): ClientUnaryCall; get(request: GetCatalogRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Catalog) => void): ClientUnaryCall; get(request: GetCatalogRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Catalog) => void): ClientUnaryCall; /** Retrieves a list of Trino Catalog resources. */ list(request: ListCatalogsRequest, callback: (error: ServiceError | null, response: ListCatalogsResponse) => void): ClientUnaryCall; list(request: ListCatalogsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListCatalogsResponse) => void): ClientUnaryCall; list(request: ListCatalogsRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: ListCatalogsResponse) => void): ClientUnaryCall; /** Creates a new Trino Catalog. */ create(request: CreateCatalogRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; create(request: CreateCatalogRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; create(request: CreateCatalogRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; /** Updates the specified Trino Catalog. */ update(request: UpdateCatalogRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; update(request: UpdateCatalogRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; update(request: UpdateCatalogRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; /** Deletes the specified Trino Catalog. */ delete(request: DeleteCatalogRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; delete(request: DeleteCatalogRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; delete(request: DeleteCatalogRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; } export declare const CatalogServiceClient: { new (address: string, credentials: ChannelCredentials, options?: Partial): CatalogServiceClient; service: typeof CatalogServiceService; }; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; type KeysOfUnion = T extends T ? keyof T : never; export type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact; } & Record>, never>; export {};