"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file
"""

import builtins
import collections.abc
import google.protobuf.descriptor
import google.protobuf.field_mask_pb2
import google.protobuf.internal.containers
import google.protobuf.message
import typing
import yandex.cloud.datacatalog.v1.catalog_pb2

DESCRIPTOR: google.protobuf.descriptor.FileDescriptor

@typing.final
class GetCatalogRequest(google.protobuf.message.Message):
    """Request message for getting a catalog."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    CATALOG_ID_FIELD_NUMBER: builtins.int
    catalog_id: builtins.str
    """ID of the catalog to return."""
    def __init__(
        self,
        *,
        catalog_id: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["catalog_id", b"catalog_id"]) -> None: ...

global___GetCatalogRequest = GetCatalogRequest

@typing.final
class ListCatalogsRequest(google.protobuf.message.Message):
    """Request message for getting catalogs by folder id."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    FOLDER_ID_FIELD_NUMBER: builtins.int
    PAGE_SIZE_FIELD_NUMBER: builtins.int
    PAGE_TOKEN_FIELD_NUMBER: builtins.int
    NAME_PATTERN_OR_ID_FIELD_NUMBER: builtins.int
    folder_id: builtins.str
    """ID of the folder to list catalogs in."""
    page_size: builtins.int
    """The maximum number of results per page to return. If the number of available
    results is larger than `page_size`, the service returns a `next_page_token`
    that can be used to get the next page of results in subsequent list requests.
    if omitted, default value will be used
    """
    page_token: builtins.str
    """Page token. To get the next page of results, set `page_token` to the
    `next_page_token` returned by a previous list request.
    """
    name_pattern_or_id: builtins.str
    """Filter by name. Use this in case if it's necessary to find catalogs by name
    if empty - filter will be omited
    """
    def __init__(
        self,
        *,
        folder_id: builtins.str = ...,
        page_size: builtins.int = ...,
        page_token: builtins.str = ...,
        name_pattern_or_id: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["folder_id", b"folder_id", "name_pattern_or_id", b"name_pattern_or_id", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...

global___ListCatalogsRequest = ListCatalogsRequest

@typing.final
class ListCatalogsResponse(google.protobuf.message.Message):
    """Response message that contains result of listing catalogs."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    CATALOGS_FIELD_NUMBER: builtins.int
    NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
    next_page_token: builtins.str
    """This token allows you to get the next page of results for list requests.
    If the number of results is larger than the specified `page_size`, use the
    `next_page_token` as the value for the `page_token` parameter in the next list request.
    Each subsequent list request will have its own `next_page_token` to continue paging
    """
    @property
    def catalogs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.datacatalog.v1.catalog_pb2.Catalog]:
        """List of catalogs."""

    def __init__(
        self,
        *,
        catalogs: collections.abc.Iterable[yandex.cloud.datacatalog.v1.catalog_pb2.Catalog] | None = ...,
        next_page_token: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["catalogs", b"catalogs", "next_page_token", b"next_page_token"]) -> None: ...

global___ListCatalogsResponse = ListCatalogsResponse

@typing.final
class CreateCatalogRequest(google.protobuf.message.Message):
    """Request message for creating a catalog."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    CATALOG_FIELD_NUMBER: builtins.int
    @property
    def catalog(self) -> yandex.cloud.datacatalog.v1.catalog_pb2.Catalog:
        """Catalog to create."""

    def __init__(
        self,
        *,
        catalog: yandex.cloud.datacatalog.v1.catalog_pb2.Catalog | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing.Literal["catalog", b"catalog"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing.Literal["catalog", b"catalog"]) -> None: ...

global___CreateCatalogRequest = CreateCatalogRequest

@typing.final
class DeleteCatalogRequest(google.protobuf.message.Message):
    """Request message for deleting a catalog."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    CATALOG_ID_FIELD_NUMBER: builtins.int
    catalog_id: builtins.str
    """ID of the catalog to delete."""
    def __init__(
        self,
        *,
        catalog_id: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["catalog_id", b"catalog_id"]) -> None: ...

global___DeleteCatalogRequest = DeleteCatalogRequest

@typing.final
class UpdateCatalogRequest(google.protobuf.message.Message):
    """Request message for updating a catalog."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    CATALOG_FIELD_NUMBER: builtins.int
    UPDATE_MASK_FIELD_NUMBER: builtins.int
    @property
    def catalog(self) -> yandex.cloud.datacatalog.v1.catalog_pb2.Catalog:
        """Catalog to update."""

    @property
    def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
        """Field mask that specifies which fields to update."""

    def __init__(
        self,
        *,
        catalog: yandex.cloud.datacatalog.v1.catalog_pb2.Catalog | None = ...,
        update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing.Literal["catalog", b"catalog", "update_mask", b"update_mask"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing.Literal["catalog", b"catalog", "update_mask", b"update_mask"]) -> None: ...

global___UpdateCatalogRequest = UpdateCatalogRequest

@typing.final
class CreateCatalogMetadata(google.protobuf.message.Message):
    """Metadata for the catalog create operation."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    CATALOG_ID_FIELD_NUMBER: builtins.int
    catalog_id: builtins.str
    """ID of the catalog that is being created."""
    def __init__(
        self,
        *,
        catalog_id: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["catalog_id", b"catalog_id"]) -> None: ...

global___CreateCatalogMetadata = CreateCatalogMetadata

@typing.final
class UpdateCatalogMetadata(google.protobuf.message.Message):
    """Metadata for the catalog update operation."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    CATALOG_ID_FIELD_NUMBER: builtins.int
    catalog_id: builtins.str
    """ID of the catalog that is being updated."""
    def __init__(
        self,
        *,
        catalog_id: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["catalog_id", b"catalog_id"]) -> None: ...

global___UpdateCatalogMetadata = UpdateCatalogMetadata

@typing.final
class DeleteCatalogMetadata(google.protobuf.message.Message):
    """Metadata for the catalog delete operation."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    CATALOG_ID_FIELD_NUMBER: builtins.int
    catalog_id: builtins.str
    """ID of the catalog that is being deleted."""
    def __init__(
        self,
        *,
        catalog_id: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["catalog_id", b"catalog_id"]) -> None: ...

global___DeleteCatalogMetadata = DeleteCatalogMetadata
