/// import { ChannelCredentials, ChannelOptions, UntypedServiceImplementation, handleUnaryCall, Client, ClientUnaryCall, Metadata, CallOptions, ServiceError } from '@grpc/grpc-js'; import _m0 from 'protobufjs/minimal'; import { Registry_Kind, Registry_Type, Registry } from '../../../../yandex/cloud/cloudregistry/v1/registry'; import { FieldMask } from '../../../../google/protobuf/field_mask'; import { IpPermission, IpPermissionDelta } from '../../../../yandex/cloud/cloudregistry/v1/ip_permission'; import { Artifact } from '../../../../yandex/cloud/cloudregistry/v1/artifact'; import { Operation } from '../../../../yandex/cloud/operation/operation'; import { ListAccessBindingsRequest, ListAccessBindingsResponse, SetAccessBindingsRequest, UpdateAccessBindingsRequest } from '../../../../yandex/cloud/access/access'; export declare const protobufPackage = "yandex.cloud.cloudregistry.v1"; export interface GetRegistryRequest { /** * ID of the Registry resource to return. * * To get the registry ID use a [RegistryService.List] request. */ registryId: string; } export interface ListRegistriesRequest { /** * ID of the folder to list registries in. * * To get the folder ID use a [yandex.cloud.resourcemanager.v1.FolderService.List] request. */ folderId: 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 [ListRegistriesResponse.next_page_token] * that can be used to get the next page of results in subsequent list requests. * Default value: 10. */ pageSize: number; /** * Page token. To get the next page of results, set [page_token] to the * [ListRegistriesResponse.next_page_token] returned by a previous list request. */ pageToken: string; } export interface ListRegistriesResponse { /** List of Registry resources. */ registries: Registry[]; /** * This token allows you to get the next page of results for list requests. If the number of results * is larger than [ListRegistriesRequest.page_size], use * the [next_page_token] as the value * for the [ListRegistriesRequest.page_token] query 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 CreateRegistryRequest { /** * ID of the folder to create a registry in. * * To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request. */ folderId: string; /** * Name of the registry. * * There may be only one registry per folder. */ name: string; /** Resource labels as `key:value` pairs. */ labels: { [key: string]: string; }; /** Kind of the registry. */ kind: Registry_Kind; /** Type of the registry. */ type: Registry_Type; /** Description of the registry. 0-1024 characters long. */ description: string; /** Property names and values. */ properties: { [key: string]: string; }; } export interface CreateRegistryRequest_LabelsEntry { key: string; value: string; } export interface CreateRegistryRequest_PropertiesEntry { key: string; value: string; } export interface CreateRegistryMetadata { /** ID of the registry that is being created. */ registryId: string; } export interface UpdateRegistryRequest { /** * ID of the Registry resource to update. * * To get the registry ID use a [RegistryService.List] request. */ registryId: string; /** Field mask that specifies which fields of the Registry resource are going to be updated. */ updateMask?: FieldMask; /** * Name of the registry. * * There may be only one registry per folder. */ name: string; /** * Resource labels as `key:value` pairs. * * Existing set of `labels` is completely replaced by the provided set. */ labels: { [key: string]: string; }; /** Description of the registry. 0-1024 characters long. */ description: string; /** Property names and values. */ properties: { [key: string]: string; }; } export interface UpdateRegistryRequest_LabelsEntry { key: string; value: string; } export interface UpdateRegistryRequest_PropertiesEntry { key: string; value: string; } export interface UpdateRegistryMetadata { /** ID of the Registry resource that is being updated. */ registryId: string; } export interface DeleteRegistryRequest { /** ID of the registry to delete. */ registryId: string; } export interface DeleteRegistryMetadata { /** ID of the registry that is being deleted. */ registryId: string; } export interface SetIpPermissionsRequest { /** ID of the registry for which ip permissions are being set. */ registryId: string; /** IP permission to be set. */ ipPermissions: IpPermission[]; } export interface UpdateIpPermissionsRequest { /** ID of the registry for which ip permissions are being updated. */ registryId: string; /** Updates to IP permissions. */ ipPermissionDeltas: IpPermissionDelta[]; } export interface ListIpPermissionsRequest { /** ID of the Registry to return ip permission list. */ registryId: string; } export interface ListIpPermissionsResponse { /** List of ip permissions for registry */ permissions: IpPermission[]; } export interface SetIpPermissionsMetadata { /** ID of the registry that ip permission is being set. */ registryId: string; } export interface UpdateIpPermissionsMetadata { /** ID of the registry that ip permission is being updated. */ registryId: string; } export interface ListArtifactsRequest { /** * ID of the registry artifact to list repositories in. * * To get the registry ID use a [ArtifactService.List] request. */ registryId: string; /** The path to a specific node where the registry artifact is located. */ path: 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 [ListRepositoriesResponse.next_page_token] * that can be used to get the next page of results in subsequent list requests. * Default value: 10. */ pageSize: number; /** * Page token. To get the next page of results, set [page_token] to the * [ListArtifactsResponse.next_page_token] returned by a previous list request. */ pageToken: string; } export interface ListArtifactsResponse { /** List of Registry artifact resources. */ artifacts: Artifact[]; /** * This token allows you to get the next page of results for list requests. If the number of results * is larger than [ListRegistriesRequest.page_size], use * the [next_page_token] as the value * for the [ListArtifactsRequest.page_token] query 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 declare const GetRegistryRequest: { encode(message: GetRegistryRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GetRegistryRequest; fromJSON(object: any): GetRegistryRequest; toJSON(message: GetRegistryRequest): unknown; fromPartial, never>>(object: I): GetRegistryRequest; }; export declare const ListRegistriesRequest: { encode(message: ListRegistriesRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListRegistriesRequest; fromJSON(object: any): ListRegistriesRequest; toJSON(message: ListRegistriesRequest): unknown; fromPartial, never>>(object: I): ListRegistriesRequest; }; export declare const ListRegistriesResponse: { encode(message: ListRegistriesResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListRegistriesResponse; fromJSON(object: any): ListRegistriesResponse; toJSON(message: ListRegistriesResponse): unknown; fromPartial, never>) | undefined; properties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; createdAt?: Date | undefined; modifiedAt?: Date | undefined; } & Record, never>)[] & Record, never>) | undefined; nextPageToken?: string | undefined; } & Record, never>>(object: I): ListRegistriesResponse; }; export declare const CreateRegistryRequest: { encode(message: CreateRegistryRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CreateRegistryRequest; fromJSON(object: any): CreateRegistryRequest; toJSON(message: CreateRegistryRequest): unknown; fromPartial, never>) | undefined; kind?: Registry_Kind | undefined; type?: Registry_Type | undefined; description?: string | undefined; properties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>>(object: I): CreateRegistryRequest; }; export declare const CreateRegistryRequest_LabelsEntry: { encode(message: CreateRegistryRequest_LabelsEntry, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CreateRegistryRequest_LabelsEntry; fromJSON(object: any): CreateRegistryRequest_LabelsEntry; toJSON(message: CreateRegistryRequest_LabelsEntry): unknown; fromPartial, never>>(object: I): CreateRegistryRequest_LabelsEntry; }; export declare const CreateRegistryRequest_PropertiesEntry: { encode(message: CreateRegistryRequest_PropertiesEntry, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CreateRegistryRequest_PropertiesEntry; fromJSON(object: any): CreateRegistryRequest_PropertiesEntry; toJSON(message: CreateRegistryRequest_PropertiesEntry): unknown; fromPartial, never>>(object: I): CreateRegistryRequest_PropertiesEntry; }; export declare const CreateRegistryMetadata: { encode(message: CreateRegistryMetadata, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CreateRegistryMetadata; fromJSON(object: any): CreateRegistryMetadata; toJSON(message: CreateRegistryMetadata): unknown; fromPartial, never>>(object: I): CreateRegistryMetadata; }; export declare const UpdateRegistryRequest: { encode(message: UpdateRegistryRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): UpdateRegistryRequest; fromJSON(object: any): UpdateRegistryRequest; toJSON(message: UpdateRegistryRequest): unknown; fromPartial, never>) | undefined; } & Record, never>) | undefined; name?: string | undefined; labels?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; description?: string | undefined; properties?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>>(object: I): UpdateRegistryRequest; }; export declare const UpdateRegistryRequest_LabelsEntry: { encode(message: UpdateRegistryRequest_LabelsEntry, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): UpdateRegistryRequest_LabelsEntry; fromJSON(object: any): UpdateRegistryRequest_LabelsEntry; toJSON(message: UpdateRegistryRequest_LabelsEntry): unknown; fromPartial, never>>(object: I): UpdateRegistryRequest_LabelsEntry; }; export declare const UpdateRegistryRequest_PropertiesEntry: { encode(message: UpdateRegistryRequest_PropertiesEntry, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): UpdateRegistryRequest_PropertiesEntry; fromJSON(object: any): UpdateRegistryRequest_PropertiesEntry; toJSON(message: UpdateRegistryRequest_PropertiesEntry): unknown; fromPartial, never>>(object: I): UpdateRegistryRequest_PropertiesEntry; }; export declare const UpdateRegistryMetadata: { encode(message: UpdateRegistryMetadata, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): UpdateRegistryMetadata; fromJSON(object: any): UpdateRegistryMetadata; toJSON(message: UpdateRegistryMetadata): unknown; fromPartial, never>>(object: I): UpdateRegistryMetadata; }; export declare const DeleteRegistryRequest: { encode(message: DeleteRegistryRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): DeleteRegistryRequest; fromJSON(object: any): DeleteRegistryRequest; toJSON(message: DeleteRegistryRequest): unknown; fromPartial, never>>(object: I): DeleteRegistryRequest; }; export declare const DeleteRegistryMetadata: { encode(message: DeleteRegistryMetadata, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): DeleteRegistryMetadata; fromJSON(object: any): DeleteRegistryMetadata; toJSON(message: DeleteRegistryMetadata): unknown; fromPartial, never>>(object: I): DeleteRegistryMetadata; }; export declare const SetIpPermissionsRequest: { encode(message: SetIpPermissionsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): SetIpPermissionsRequest; fromJSON(object: any): SetIpPermissionsRequest; toJSON(message: SetIpPermissionsRequest): unknown; fromPartial, never>)[] & Record, never>) | undefined; } & Record, never>>(object: I): SetIpPermissionsRequest; }; export declare const UpdateIpPermissionsRequest: { encode(message: UpdateIpPermissionsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): UpdateIpPermissionsRequest; fromJSON(object: any): UpdateIpPermissionsRequest; toJSON(message: UpdateIpPermissionsRequest): unknown; fromPartial, never>) | undefined; } & Record, never>)[] & Record, never>) | undefined; } & Record, never>>(object: I): UpdateIpPermissionsRequest; }; export declare const ListIpPermissionsRequest: { encode(message: ListIpPermissionsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListIpPermissionsRequest; fromJSON(object: any): ListIpPermissionsRequest; toJSON(message: ListIpPermissionsRequest): unknown; fromPartial, never>>(object: I): ListIpPermissionsRequest; }; export declare const ListIpPermissionsResponse: { encode(message: ListIpPermissionsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListIpPermissionsResponse; fromJSON(object: any): ListIpPermissionsResponse; toJSON(message: ListIpPermissionsResponse): unknown; fromPartial, never>)[] & Record, never>) | undefined; } & Record, never>>(object: I): ListIpPermissionsResponse; }; export declare const SetIpPermissionsMetadata: { encode(message: SetIpPermissionsMetadata, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): SetIpPermissionsMetadata; fromJSON(object: any): SetIpPermissionsMetadata; toJSON(message: SetIpPermissionsMetadata): unknown; fromPartial, never>>(object: I): SetIpPermissionsMetadata; }; export declare const UpdateIpPermissionsMetadata: { encode(message: UpdateIpPermissionsMetadata, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): UpdateIpPermissionsMetadata; fromJSON(object: any): UpdateIpPermissionsMetadata; toJSON(message: UpdateIpPermissionsMetadata): unknown; fromPartial, never>>(object: I): UpdateIpPermissionsMetadata; }; export declare const ListArtifactsRequest: { encode(message: ListArtifactsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListArtifactsRequest; fromJSON(object: any): ListArtifactsRequest; toJSON(message: ListArtifactsRequest): unknown; fromPartial, never>>(object: I): ListArtifactsRequest; }; export declare const ListArtifactsResponse: { encode(message: ListArtifactsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListArtifactsResponse; fromJSON(object: any): ListArtifactsResponse; toJSON(message: ListArtifactsResponse): unknown; fromPartial, never>)[] & Record, never>) | undefined; nextPageToken?: string | undefined; } & Record, never>>(object: I): ListArtifactsResponse; }; /** A set of methods for managing Registry resources. */ export declare const RegistryServiceService: { /** * Returns the specified Registry resource. * * To get the list of available Registry resources, make a [RegistryService.List] request. */ readonly get: { readonly path: "/yandex.cloud.cloudregistry.v1.RegistryService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetRegistryRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => GetRegistryRequest; readonly responseSerialize: (value: Registry) => Buffer; readonly responseDeserialize: (value: Buffer) => Registry; }; /** Retrieves the list of Registry resources in the specified folder. */ readonly list: { readonly path: "/yandex.cloud.cloudregistry.v1.RegistryService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListRegistriesRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => ListRegistriesRequest; readonly responseSerialize: (value: ListRegistriesResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListRegistriesResponse; }; /** Creates a registry in the specified folder. */ readonly create: { readonly path: "/yandex.cloud.cloudregistry.v1.RegistryService/Create"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: CreateRegistryRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => CreateRegistryRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; /** Updates the specified registry. */ readonly update: { readonly path: "/yandex.cloud.cloudregistry.v1.RegistryService/Update"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateRegistryRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => UpdateRegistryRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; /** Deletes the specified registry. */ readonly delete: { readonly path: "/yandex.cloud.cloudregistry.v1.RegistryService/Delete"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeleteRegistryRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => DeleteRegistryRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; /** Lists access bindings for the specified registry. */ readonly listAccessBindings: { readonly path: "/yandex.cloud.cloudregistry.v1.RegistryService/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 specified registry. */ readonly setAccessBindings: { readonly path: "/yandex.cloud.cloudregistry.v1.RegistryService/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 registry. */ readonly updateAccessBindings: { readonly path: "/yandex.cloud.cloudregistry.v1.RegistryService/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; }; /** List ip permissions for the specified registry. */ readonly listIpPermissions: { readonly path: "/yandex.cloud.cloudregistry.v1.RegistryService/ListIpPermissions"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListIpPermissionsRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => ListIpPermissionsRequest; readonly responseSerialize: (value: ListIpPermissionsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListIpPermissionsResponse; }; /** Set ip permissions for the specified registry. */ readonly setIpPermissions: { readonly path: "/yandex.cloud.cloudregistry.v1.RegistryService/SetIpPermissions"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: SetIpPermissionsRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => SetIpPermissionsRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; /** Update ip permissions for the specified registry. */ readonly updateIpPermissions: { readonly path: "/yandex.cloud.cloudregistry.v1.RegistryService/UpdateIpPermissions"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateIpPermissionsRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => UpdateIpPermissionsRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; /** Retrieves the list of registry artifact resources in the specified registry. */ readonly listArtifacts: { readonly path: "/yandex.cloud.cloudregistry.v1.RegistryService/ListArtifacts"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListArtifactsRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => ListArtifactsRequest; readonly responseSerialize: (value: ListArtifactsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListArtifactsResponse; }; }; export interface RegistryServiceServer extends UntypedServiceImplementation { /** * Returns the specified Registry resource. * * To get the list of available Registry resources, make a [RegistryService.List] request. */ get: handleUnaryCall; /** Retrieves the list of Registry resources in the specified folder. */ list: handleUnaryCall; /** Creates a registry in the specified folder. */ create: handleUnaryCall; /** Updates the specified registry. */ update: handleUnaryCall; /** Deletes the specified registry. */ delete: handleUnaryCall; /** Lists access bindings for the specified registry. */ listAccessBindings: handleUnaryCall; /** Sets access bindings for the specified registry. */ setAccessBindings: handleUnaryCall; /** Updates access bindings for the specified registry. */ updateAccessBindings: handleUnaryCall; /** List ip permissions for the specified registry. */ listIpPermissions: handleUnaryCall; /** Set ip permissions for the specified registry. */ setIpPermissions: handleUnaryCall; /** Update ip permissions for the specified registry. */ updateIpPermissions: handleUnaryCall; /** Retrieves the list of registry artifact resources in the specified registry. */ listArtifacts: handleUnaryCall; } export interface RegistryServiceClient extends Client { /** * Returns the specified Registry resource. * * To get the list of available Registry resources, make a [RegistryService.List] request. */ get(request: GetRegistryRequest, callback: (error: ServiceError | null, response: Registry) => void): ClientUnaryCall; get(request: GetRegistryRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Registry) => void): ClientUnaryCall; get(request: GetRegistryRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Registry) => void): ClientUnaryCall; /** Retrieves the list of Registry resources in the specified folder. */ list(request: ListRegistriesRequest, callback: (error: ServiceError | null, response: ListRegistriesResponse) => void): ClientUnaryCall; list(request: ListRegistriesRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListRegistriesResponse) => void): ClientUnaryCall; list(request: ListRegistriesRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: ListRegistriesResponse) => void): ClientUnaryCall; /** Creates a registry in the specified folder. */ create(request: CreateRegistryRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; create(request: CreateRegistryRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; create(request: CreateRegistryRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; /** Updates the specified registry. */ update(request: UpdateRegistryRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; update(request: UpdateRegistryRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; update(request: UpdateRegistryRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; /** Deletes the specified registry. */ delete(request: DeleteRegistryRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; delete(request: DeleteRegistryRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; delete(request: DeleteRegistryRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; /** Lists access bindings for the specified registry. */ 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 specified registry. */ 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 registry. */ 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; /** List ip permissions for the specified registry. */ listIpPermissions(request: ListIpPermissionsRequest, callback: (error: ServiceError | null, response: ListIpPermissionsResponse) => void): ClientUnaryCall; listIpPermissions(request: ListIpPermissionsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListIpPermissionsResponse) => void): ClientUnaryCall; listIpPermissions(request: ListIpPermissionsRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: ListIpPermissionsResponse) => void): ClientUnaryCall; /** Set ip permissions for the specified registry. */ setIpPermissions(request: SetIpPermissionsRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; setIpPermissions(request: SetIpPermissionsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; setIpPermissions(request: SetIpPermissionsRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; /** Update ip permissions for the specified registry. */ updateIpPermissions(request: UpdateIpPermissionsRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; updateIpPermissions(request: UpdateIpPermissionsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; updateIpPermissions(request: UpdateIpPermissionsRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; /** Retrieves the list of registry artifact resources in the specified registry. */ listArtifacts(request: ListArtifactsRequest, callback: (error: ServiceError | null, response: ListArtifactsResponse) => void): ClientUnaryCall; listArtifacts(request: ListArtifactsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListArtifactsResponse) => void): ClientUnaryCall; listArtifacts(request: ListArtifactsRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: ListArtifactsResponse) => void): ClientUnaryCall; } export declare const RegistryServiceClient: { new (address: string, credentials: ChannelCredentials, options?: Partial): RegistryServiceClient; service: typeof RegistryServiceService; }; 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 {};