/// import { ChannelCredentials, ChannelOptions, UntypedServiceImplementation, handleUnaryCall, Client, ClientUnaryCall, Metadata, CallOptions, ServiceError } from '@grpc/grpc-js'; import _m0 from 'protobufjs/minimal'; import { Source, Connector } from '../../../../../yandex/cloud/serverless/eventrouter/v1/connector'; import { FieldMask } from '../../../../../google/protobuf/field_mask'; import { Operation } from '../../../../../yandex/cloud/operation/operation'; import { ListAccessBindingsRequest, ListAccessBindingsResponse, SetAccessBindingsRequest, UpdateAccessBindingsRequest } from '../../../../../yandex/cloud/access/access'; export declare const protobufPackage = "yandex.cloud.serverless.eventrouter.v1"; export interface GetConnectorRequest { /** ID of the connector to return. */ connectorId: string; } export interface ListConnectorsRequest { /** ID of the bus to list connectors in. */ busId: string | undefined; /** ID of the folder to list connectors in. */ folderId: string | undefined; /** The maximum number of results per response. */ pageSize: number; /** * Page token. To get the next page of results, set `page_token` to the * `next_page_token` returned by a previous list request. */ pageToken: string; /** * Supported fields for filter: * name * created_at */ filter: string; } export interface ListConnectorsResponse { /** List of connectors. */ connectors: Connector[]; /** Token for getting the next page of the list of results. */ nextPageToken: string; } export interface CreateConnectorRequest { /** ID of the bus to create a connector in. */ busId: string; /** Name of the connector. */ name: string; /** Description of the connector. */ description: string; /** Labels for the connector. */ labels: { [key: string]: string; }; /** Source of the connector. */ source?: Source; /** Flag that disallow deletion of the connector. */ deletionProtection: boolean; } export interface CreateConnectorRequest_LabelsEntry { key: string; value: string; } export interface CreateConnectorMetadata { /** ID of the connector that is being created. */ connectorId: string; /** ID of the bus that the connector is created in. */ busId: string; } export interface UpdateConnectorRequest { /** ID of the connector to update. */ connectorId: string; /** Field mask that specifies which fields of the connector are going to be updated. */ updateMask?: FieldMask; /** New name of the connector. */ name: string; /** New description of the connector. */ description: string; /** New labels of the connector. */ labels: { [key: string]: string; }; /** New flag that disallow deletion of the connector. */ deletionProtection: boolean; } export interface UpdateConnectorRequest_LabelsEntry { key: string; value: string; } export interface UpdateConnectorMetadata { /** ID of the connector that is being updated. */ connectorId: string; } export interface DeleteConnectorRequest { /** ID of the connector to delete. */ connectorId: string; } export interface DeleteConnectorMetadata { /** ID of the connector that is being deleted. */ connectorId: string; } export interface ListConnectorOperationsRequest { /** ID of the connector to list operations for. */ connectorId: string; /** The maximum number of results per response. */ pageSize: number; /** * Page token. To get the next page of results, set `page_token` to the * `next_page_token` returned by a previous list request. */ pageToken: string; /** * Supported attributes for filter: * description * created_at * modified_at * created_by * done */ filter: string; } export interface ListConnectorOperationsResponse { /** List of operations for the specified connector. */ operations: Operation[]; /** Token for getting the next page of the list of results. */ nextPageToken: string; } export interface StartConnectorRequest { /** ID of the connector to start. */ connectorId: string; } export interface StartConnectorMetadata { /** ID of the connector that is being started. */ connectorId: string; } export interface StopConnectorRequest { /** ID of the connector to stop. */ connectorId: string; } export interface StopConnectorMetadata { /** ID of the connector that is being stopped. */ connectorId: string; } export declare const GetConnectorRequest: { encode(message: GetConnectorRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GetConnectorRequest; fromJSON(object: any): GetConnectorRequest; toJSON(message: GetConnectorRequest): unknown; fromPartial, never>>(object: I): GetConnectorRequest; }; export declare const ListConnectorsRequest: { encode(message: ListConnectorsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListConnectorsRequest; fromJSON(object: any): ListConnectorsRequest; toJSON(message: ListConnectorsRequest): unknown; fromPartial, never>>(object: I): ListConnectorsRequest; }; export declare const ListConnectorsResponse: { encode(message: ListConnectorsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListConnectorsResponse; fromJSON(object: any): ListConnectorsResponse; toJSON(message: ListConnectorsResponse): unknown; fromPartial, never>) | undefined; source?: ({ dataStream?: { database?: string | undefined; streamName?: string | undefined; consumer?: string | undefined; serviceAccountId?: string | undefined; } | undefined; messageQueue?: { queueArn?: string | undefined; serviceAccountId?: string | undefined; visibilityTimeout?: { seconds?: number | undefined; nanos?: number | undefined; } | undefined; batchSize?: number | undefined; pollingTimeout?: { seconds?: number | undefined; nanos?: number | undefined; } | undefined; } | undefined; timer?: { cronExpression?: string | undefined; timeZone?: string | undefined; payload?: string | undefined; } | undefined; eventServiceSource?: {} | undefined; } & { dataStream?: ({ database?: string | undefined; streamName?: string | undefined; consumer?: string | undefined; serviceAccountId?: string | undefined; } & { database?: string | undefined; streamName?: string | undefined; consumer?: string | undefined; serviceAccountId?: string | undefined; } & Record, never>) | undefined; messageQueue?: ({ queueArn?: string | undefined; serviceAccountId?: string | undefined; visibilityTimeout?: { seconds?: number | undefined; nanos?: number | undefined; } | undefined; batchSize?: number | undefined; pollingTimeout?: { seconds?: number | undefined; nanos?: number | undefined; } | undefined; } & { queueArn?: string | undefined; serviceAccountId?: string | undefined; visibilityTimeout?: ({ seconds?: number | undefined; nanos?: number | undefined; } & { seconds?: number | undefined; nanos?: number | undefined; } & Record, never>) | undefined; batchSize?: number | undefined; pollingTimeout?: ({ seconds?: number | undefined; nanos?: number | undefined; } & { seconds?: number | undefined; nanos?: number | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; timer?: ({ cronExpression?: string | undefined; timeZone?: string | undefined; payload?: string | undefined; } & { cronExpression?: string | undefined; timeZone?: string | undefined; payload?: string | undefined; } & Record, never>) | undefined; eventServiceSource?: ({} & {} & Record, never>) | undefined; } & Record, never>) | undefined; deletionProtection?: boolean | undefined; status?: import("../../../../../yandex/cloud/serverless/eventrouter/v1/connector").Connector_Status | undefined; } & Record, never>)[] & Record, never>) | undefined; nextPageToken?: string | undefined; } & Record, never>>(object: I): ListConnectorsResponse; }; export declare const CreateConnectorRequest: { encode(message: CreateConnectorRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CreateConnectorRequest; fromJSON(object: any): CreateConnectorRequest; toJSON(message: CreateConnectorRequest): unknown; fromPartial, never>) | undefined; source?: ({ dataStream?: { database?: string | undefined; streamName?: string | undefined; consumer?: string | undefined; serviceAccountId?: string | undefined; } | undefined; messageQueue?: { queueArn?: string | undefined; serviceAccountId?: string | undefined; visibilityTimeout?: { seconds?: number | undefined; nanos?: number | undefined; } | undefined; batchSize?: number | undefined; pollingTimeout?: { seconds?: number | undefined; nanos?: number | undefined; } | undefined; } | undefined; timer?: { cronExpression?: string | undefined; timeZone?: string | undefined; payload?: string | undefined; } | undefined; eventServiceSource?: {} | undefined; } & { dataStream?: ({ database?: string | undefined; streamName?: string | undefined; consumer?: string | undefined; serviceAccountId?: string | undefined; } & { database?: string | undefined; streamName?: string | undefined; consumer?: string | undefined; serviceAccountId?: string | undefined; } & Record, never>) | undefined; messageQueue?: ({ queueArn?: string | undefined; serviceAccountId?: string | undefined; visibilityTimeout?: { seconds?: number | undefined; nanos?: number | undefined; } | undefined; batchSize?: number | undefined; pollingTimeout?: { seconds?: number | undefined; nanos?: number | undefined; } | undefined; } & { queueArn?: string | undefined; serviceAccountId?: string | undefined; visibilityTimeout?: ({ seconds?: number | undefined; nanos?: number | undefined; } & { seconds?: number | undefined; nanos?: number | undefined; } & Record, never>) | undefined; batchSize?: number | undefined; pollingTimeout?: ({ seconds?: number | undefined; nanos?: number | undefined; } & { seconds?: number | undefined; nanos?: number | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; timer?: ({ cronExpression?: string | undefined; timeZone?: string | undefined; payload?: string | undefined; } & { cronExpression?: string | undefined; timeZone?: string | undefined; payload?: string | undefined; } & Record, never>) | undefined; eventServiceSource?: ({} & {} & Record, never>) | undefined; } & Record, never>) | undefined; deletionProtection?: boolean | undefined; } & Record, never>>(object: I): CreateConnectorRequest; }; export declare const CreateConnectorRequest_LabelsEntry: { encode(message: CreateConnectorRequest_LabelsEntry, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CreateConnectorRequest_LabelsEntry; fromJSON(object: any): CreateConnectorRequest_LabelsEntry; toJSON(message: CreateConnectorRequest_LabelsEntry): unknown; fromPartial, never>>(object: I): CreateConnectorRequest_LabelsEntry; }; export declare const CreateConnectorMetadata: { encode(message: CreateConnectorMetadata, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CreateConnectorMetadata; fromJSON(object: any): CreateConnectorMetadata; toJSON(message: CreateConnectorMetadata): unknown; fromPartial, never>>(object: I): CreateConnectorMetadata; }; export declare const UpdateConnectorRequest: { encode(message: UpdateConnectorRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): UpdateConnectorRequest; fromJSON(object: any): UpdateConnectorRequest; toJSON(message: UpdateConnectorRequest): unknown; fromPartial, never>) | undefined; } & Record, never>) | undefined; name?: string | undefined; description?: string | undefined; labels?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; deletionProtection?: boolean | undefined; } & Record, never>>(object: I): UpdateConnectorRequest; }; export declare const UpdateConnectorRequest_LabelsEntry: { encode(message: UpdateConnectorRequest_LabelsEntry, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): UpdateConnectorRequest_LabelsEntry; fromJSON(object: any): UpdateConnectorRequest_LabelsEntry; toJSON(message: UpdateConnectorRequest_LabelsEntry): unknown; fromPartial, never>>(object: I): UpdateConnectorRequest_LabelsEntry; }; export declare const UpdateConnectorMetadata: { encode(message: UpdateConnectorMetadata, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): UpdateConnectorMetadata; fromJSON(object: any): UpdateConnectorMetadata; toJSON(message: UpdateConnectorMetadata): unknown; fromPartial, never>>(object: I): UpdateConnectorMetadata; }; export declare const DeleteConnectorRequest: { encode(message: DeleteConnectorRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): DeleteConnectorRequest; fromJSON(object: any): DeleteConnectorRequest; toJSON(message: DeleteConnectorRequest): unknown; fromPartial, never>>(object: I): DeleteConnectorRequest; }; export declare const DeleteConnectorMetadata: { encode(message: DeleteConnectorMetadata, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): DeleteConnectorMetadata; fromJSON(object: any): DeleteConnectorMetadata; toJSON(message: DeleteConnectorMetadata): unknown; fromPartial, never>>(object: I): DeleteConnectorMetadata; }; export declare const ListConnectorOperationsRequest: { encode(message: ListConnectorOperationsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListConnectorOperationsRequest; fromJSON(object: any): ListConnectorOperationsRequest; toJSON(message: ListConnectorOperationsRequest): unknown; fromPartial, never>>(object: I): ListConnectorOperationsRequest; }; export declare const ListConnectorOperationsResponse: { encode(message: ListConnectorOperationsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListConnectorOperationsResponse; fromJSON(object: any): ListConnectorOperationsResponse; toJSON(message: ListConnectorOperationsResponse): unknown; fromPartial, never>) | undefined; error?: ({ code?: number | undefined; message?: string | undefined; details?: { typeUrl?: string | undefined; value?: Buffer | undefined; }[] | undefined; } & { code?: number | undefined; message?: string | undefined; details?: ({ typeUrl?: string | undefined; value?: Buffer | undefined; }[] & ({ typeUrl?: string | undefined; value?: Buffer | undefined; } & { typeUrl?: string | undefined; value?: Buffer | undefined; } & Record, never>)[] & Record, never>) | undefined; } & Record, never>) | undefined; response?: ({ typeUrl?: string | undefined; value?: Buffer | undefined; } & { typeUrl?: string | undefined; value?: Buffer | undefined; } & Record, never>) | undefined; } & Record, never>)[] & Record, never>) | undefined; nextPageToken?: string | undefined; } & Record, never>>(object: I): ListConnectorOperationsResponse; }; export declare const StartConnectorRequest: { encode(message: StartConnectorRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): StartConnectorRequest; fromJSON(object: any): StartConnectorRequest; toJSON(message: StartConnectorRequest): unknown; fromPartial, never>>(object: I): StartConnectorRequest; }; export declare const StartConnectorMetadata: { encode(message: StartConnectorMetadata, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): StartConnectorMetadata; fromJSON(object: any): StartConnectorMetadata; toJSON(message: StartConnectorMetadata): unknown; fromPartial, never>>(object: I): StartConnectorMetadata; }; export declare const StopConnectorRequest: { encode(message: StopConnectorRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): StopConnectorRequest; fromJSON(object: any): StopConnectorRequest; toJSON(message: StopConnectorRequest): unknown; fromPartial, never>>(object: I): StopConnectorRequest; }; export declare const StopConnectorMetadata: { encode(message: StopConnectorMetadata, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): StopConnectorMetadata; fromJSON(object: any): StopConnectorMetadata; toJSON(message: StopConnectorMetadata): unknown; fromPartial, never>>(object: I): StopConnectorMetadata; }; /** A set of methods for managing connectors for serverless eventrouter. */ export declare const ConnectorServiceService: { /** * Returns the specified bus. * To get the list of all available connectors, make a [List] request. */ readonly get: { readonly path: "/yandex.cloud.serverless.eventrouter.v1.ConnectorService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetConnectorRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => GetConnectorRequest; readonly responseSerialize: (value: Connector) => Buffer; readonly responseDeserialize: (value: Buffer) => Connector; }; /** Retrieves the list of connectors in the specified folder. */ readonly list: { readonly path: "/yandex.cloud.serverless.eventrouter.v1.ConnectorService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListConnectorsRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => ListConnectorsRequest; readonly responseSerialize: (value: ListConnectorsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListConnectorsResponse; }; /** Creates a connector in the specified folder. */ readonly create: { readonly path: "/yandex.cloud.serverless.eventrouter.v1.ConnectorService/Create"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: CreateConnectorRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => CreateConnectorRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; /** Updates the specified connector. */ readonly update: { readonly path: "/yandex.cloud.serverless.eventrouter.v1.ConnectorService/Update"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateConnectorRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => UpdateConnectorRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; /** Deletes the specified connector. */ readonly delete: { readonly path: "/yandex.cloud.serverless.eventrouter.v1.ConnectorService/Delete"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeleteConnectorRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => DeleteConnectorRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; /** Starts the specified connector. */ readonly start: { readonly path: "/yandex.cloud.serverless.eventrouter.v1.ConnectorService/Start"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: StartConnectorRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => StartConnectorRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; /** Stops the specified connector. */ readonly stop: { readonly path: "/yandex.cloud.serverless.eventrouter.v1.ConnectorService/Stop"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: StopConnectorRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => StopConnectorRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; /** Lists existing access bindings for the specified bus. */ readonly listAccessBindings: { readonly path: "/yandex.cloud.serverless.eventrouter.v1.ConnectorService/ListAccessBindings"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListAccessBindingsRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => ListAccessBindingsRequest; readonly responseSerialize: (value: ListAccessBindingsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListAccessBindingsResponse; }; /** Sets access bindings for the connector. */ readonly setAccessBindings: { readonly path: "/yandex.cloud.serverless.eventrouter.v1.ConnectorService/SetAccessBindings"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: SetAccessBindingsRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => SetAccessBindingsRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; /** Updates access bindings for the specified connector. */ readonly updateAccessBindings: { readonly path: "/yandex.cloud.serverless.eventrouter.v1.ConnectorService/UpdateAccessBindings"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateAccessBindingsRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => UpdateAccessBindingsRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; /** Lists operations for the specified connector. */ readonly listOperations: { readonly path: "/yandex.cloud.serverless.eventrouter.v1.ConnectorService/ListOperations"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListConnectorOperationsRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => ListConnectorOperationsRequest; readonly responseSerialize: (value: ListConnectorOperationsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListConnectorOperationsResponse; }; }; export interface ConnectorServiceServer extends UntypedServiceImplementation { /** * Returns the specified bus. * To get the list of all available connectors, make a [List] request. */ get: handleUnaryCall; /** Retrieves the list of connectors in the specified folder. */ list: handleUnaryCall; /** Creates a connector in the specified folder. */ create: handleUnaryCall; /** Updates the specified connector. */ update: handleUnaryCall; /** Deletes the specified connector. */ delete: handleUnaryCall; /** Starts the specified connector. */ start: handleUnaryCall; /** Stops the specified connector. */ stop: handleUnaryCall; /** Lists existing access bindings for the specified bus. */ listAccessBindings: handleUnaryCall; /** Sets access bindings for the connector. */ setAccessBindings: handleUnaryCall; /** Updates access bindings for the specified connector. */ updateAccessBindings: handleUnaryCall; /** Lists operations for the specified connector. */ listOperations: handleUnaryCall; } export interface ConnectorServiceClient extends Client { /** * Returns the specified bus. * To get the list of all available connectors, make a [List] request. */ get(request: GetConnectorRequest, callback: (error: ServiceError | null, response: Connector) => void): ClientUnaryCall; get(request: GetConnectorRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Connector) => void): ClientUnaryCall; get(request: GetConnectorRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Connector) => void): ClientUnaryCall; /** Retrieves the list of connectors in the specified folder. */ list(request: ListConnectorsRequest, callback: (error: ServiceError | null, response: ListConnectorsResponse) => void): ClientUnaryCall; list(request: ListConnectorsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListConnectorsResponse) => void): ClientUnaryCall; list(request: ListConnectorsRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: ListConnectorsResponse) => void): ClientUnaryCall; /** Creates a connector in the specified folder. */ create(request: CreateConnectorRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; create(request: CreateConnectorRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; create(request: CreateConnectorRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; /** Updates the specified connector. */ update(request: UpdateConnectorRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; update(request: UpdateConnectorRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; update(request: UpdateConnectorRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; /** Deletes the specified connector. */ delete(request: DeleteConnectorRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; delete(request: DeleteConnectorRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; delete(request: DeleteConnectorRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; /** Starts the specified connector. */ start(request: StartConnectorRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; start(request: StartConnectorRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; start(request: StartConnectorRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; /** Stops the specified connector. */ stop(request: StopConnectorRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; stop(request: StopConnectorRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; stop(request: StopConnectorRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; /** Lists existing access bindings for the specified bus. */ listAccessBindings(request: ListAccessBindingsRequest, callback: (error: ServiceError | null, response: ListAccessBindingsResponse) => void): ClientUnaryCall; listAccessBindings(request: ListAccessBindingsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListAccessBindingsResponse) => void): ClientUnaryCall; listAccessBindings(request: ListAccessBindingsRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: ListAccessBindingsResponse) => void): ClientUnaryCall; /** Sets access bindings for the connector. */ setAccessBindings(request: SetAccessBindingsRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; setAccessBindings(request: SetAccessBindingsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; setAccessBindings(request: SetAccessBindingsRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; /** Updates access bindings for the specified connector. */ updateAccessBindings(request: UpdateAccessBindingsRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; updateAccessBindings(request: UpdateAccessBindingsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; updateAccessBindings(request: UpdateAccessBindingsRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; /** Lists operations for the specified connector. */ listOperations(request: ListConnectorOperationsRequest, callback: (error: ServiceError | null, response: ListConnectorOperationsResponse) => void): ClientUnaryCall; listOperations(request: ListConnectorOperationsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListConnectorOperationsResponse) => void): ClientUnaryCall; listOperations(request: ListConnectorOperationsRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: ListConnectorOperationsResponse) => void): ClientUnaryCall; } export declare const ConnectorServiceClient: { new (address: string, credentials: ChannelCredentials, options?: Partial): ConnectorServiceClient; service: typeof ConnectorServiceService; }; 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 {};