"""
@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.baremetal.v1alpha.public_prefix_pool_pb2
import yandex.cloud.operation.operation_pb2

DESCRIPTOR: google.protobuf.descriptor.FileDescriptor

@typing.final
class GetPublicPrefixPoolRequest(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    PUBLIC_PREFIX_POOL_ID_FIELD_NUMBER: builtins.int
    public_prefix_pool_id: builtins.str
    """ID of the Public prefix pool resource to return.

    To get the pool ID, use a [PublicPrefixPoolService.List] request.
    """
    def __init__(
        self,
        *,
        public_prefix_pool_id: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["public_prefix_pool_id", b"public_prefix_pool_id"]) -> None: ...

global___GetPublicPrefixPoolRequest = GetPublicPrefixPoolRequest

@typing.final
class ListPublicPrefixPoolRequest(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    FOLDER_ID_FIELD_NUMBER: builtins.int
    PAGE_SIZE_FIELD_NUMBER: builtins.int
    PAGE_TOKEN_FIELD_NUMBER: builtins.int
    ORDER_BY_FIELD_NUMBER: builtins.int
    FILTER_FIELD_NUMBER: builtins.int
    folder_id: builtins.str
    """ID of the folder to list public prefix pools in.

    To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
    """
    page_size: builtins.int
    """The maximum number of results per page to return. If the number of available
    results is greater than `page_size`,
    the service returns a [ListPublicPrefixPoolResponse.next_page_token]
    that can be used to get the next page of results in subsequent list requests.
    Default value is 20.
    """
    page_token: builtins.str
    """Page token. To get the next page of results, set `page_token` to the
    [ListPublicPrefixPoolResponse.next_page_token] returned by a previous list request.
    """
    order_by: builtins.str
    """By which column the listing should be ordered and in which direction,
    format is "createdAt desc". "id asc" if omitted.
    Supported fields: ["id", "createdAt", "updatedAt"].
    Both snake_case and camelCase are supported for fields.
    """
    filter: builtins.str
    """A filter expression that filters resources listed in the response.
    The expression consists of one or more conditions united by `AND` operator: `<condition1> [AND <condition2> [<...> AND <conditionN>]]`.

    Each condition has the form `<field> <operator> <value>`, where:
    1. `<field>` is the field name. Currently you can use filtering only on the limited number of fields.
    2. `<operator>` is a logical operator, one of `=` (equal), `:` (substring).
    3. `<value>` represents a value.
    String values should be written in double (`"`) or single (`'`) quotes. C-style escape sequences are supported (`\\"` turns to `"`, `\\'` to `'`, `\\\\` to backslash).
    Example: "key1='value' AND key2='value'"
    Supported operators: ["AND"].
    Supported fields: ["id", "name"].
    Both snake_case and camelCase are supported for fields.
    """
    def __init__(
        self,
        *,
        folder_id: builtins.str = ...,
        page_size: builtins.int = ...,
        page_token: builtins.str = ...,
        order_by: builtins.str = ...,
        filter: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["filter", b"filter", "folder_id", b"folder_id", "order_by", b"order_by", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...

global___ListPublicPrefixPoolRequest = ListPublicPrefixPoolRequest

@typing.final
class ListPublicPrefixPoolResponse(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    PUBLIC_PREFIX_POOLS_FIELD_NUMBER: builtins.int
    NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
    next_page_token: builtins.str
    """Token for getting the next page of the list. If the number of results is greater than
    [ListPublicPrefixPoolRequest.page_size], use `next_page_token` as the value
    for the [ListPublicPrefixPoolRequest.page_token] parameter in the next list request.

    Each subsequent page will have its own `next_page_token` to continue paging through the results.
    """
    @property
    def public_prefix_pools(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.baremetal.v1alpha.public_prefix_pool_pb2.PublicPrefixPool]:
        """List of public prefix pool resources."""

    def __init__(
        self,
        *,
        public_prefix_pools: collections.abc.Iterable[yandex.cloud.baremetal.v1alpha.public_prefix_pool_pb2.PublicPrefixPool] | None = ...,
        next_page_token: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["next_page_token", b"next_page_token", "public_prefix_pools", b"public_prefix_pools"]) -> None: ...

global___ListPublicPrefixPoolResponse = ListPublicPrefixPoolResponse

@typing.final
class UpdatePublicPrefixPoolRequest(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    @typing.final
    class LabelsEntry(google.protobuf.message.Message):
        DESCRIPTOR: google.protobuf.descriptor.Descriptor

        KEY_FIELD_NUMBER: builtins.int
        VALUE_FIELD_NUMBER: builtins.int
        key: builtins.str
        value: builtins.str
        def __init__(
            self,
            *,
            key: builtins.str = ...,
            value: builtins.str = ...,
        ) -> None: ...
        def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...

    PUBLIC_PREFIX_POOL_ID_FIELD_NUMBER: builtins.int
    UPDATE_MASK_FIELD_NUMBER: builtins.int
    NAME_FIELD_NUMBER: builtins.int
    DESCRIPTION_FIELD_NUMBER: builtins.int
    LABELS_FIELD_NUMBER: builtins.int
    public_prefix_pool_id: builtins.str
    """ID of the public prefix pool to update.

    To get the public prefix pool ID, use a [PublicPrefixPoolService.List] request.
    """
    name: builtins.str
    """New name of the public prefix pool."""
    description: builtins.str
    """New description of the public prefix pool."""
    @property
    def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
        """Field mask that specifies which fields of the PublicPrefixPool resource are going to be updated."""

    @property
    def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
        """New labels for the public prefix pool as `key:value` pairs."""

    def __init__(
        self,
        *,
        public_prefix_pool_id: builtins.str = ...,
        update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ...,
        name: builtins.str = ...,
        description: builtins.str = ...,
        labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing.Literal["update_mask", b"update_mask"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing.Literal["description", b"description", "labels", b"labels", "name", b"name", "public_prefix_pool_id", b"public_prefix_pool_id", "update_mask", b"update_mask"]) -> None: ...

global___UpdatePublicPrefixPoolRequest = UpdatePublicPrefixPoolRequest

@typing.final
class CreatePublicPrefixPoolMetadata(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    PUBLIC_PREFIX_POOL_ID_FIELD_NUMBER: builtins.int
    public_prefix_pool_id: builtins.str
    """ID of the Public prefix pool resource that is being created."""
    def __init__(
        self,
        *,
        public_prefix_pool_id: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["public_prefix_pool_id", b"public_prefix_pool_id"]) -> None: ...

global___CreatePublicPrefixPoolMetadata = CreatePublicPrefixPoolMetadata

@typing.final
class UpdatePublicPrefixPoolMetadata(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    PUBLIC_PREFIX_POOL_ID_FIELD_NUMBER: builtins.int
    public_prefix_pool_id: builtins.str
    """ID of the Public prefix pool resource that is being updated."""
    def __init__(
        self,
        *,
        public_prefix_pool_id: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["public_prefix_pool_id", b"public_prefix_pool_id"]) -> None: ...

global___UpdatePublicPrefixPoolMetadata = UpdatePublicPrefixPoolMetadata

@typing.final
class DeletePublicPrefixPoolMetadata(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    PUBLIC_PREFIX_POOL_ID_FIELD_NUMBER: builtins.int
    public_prefix_pool_id: builtins.str
    """ID of the Public prefix pool resource that is being deleted."""
    def __init__(
        self,
        *,
        public_prefix_pool_id: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["public_prefix_pool_id", b"public_prefix_pool_id"]) -> None: ...

global___DeletePublicPrefixPoolMetadata = DeletePublicPrefixPoolMetadata

@typing.final
class ListPublicPrefixPoolOperationsRequest(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    PUBLIC_PREFIX_POOL_ID_FIELD_NUMBER: builtins.int
    PAGE_SIZE_FIELD_NUMBER: builtins.int
    PAGE_TOKEN_FIELD_NUMBER: builtins.int
    public_prefix_pool_id: builtins.str
    """ID of the PublicPrefixPool resource to list operations for."""
    page_size: builtins.int
    """The maximum number of results per page to return. If the number of available
    results is greater than `page_size`,
    the service returns a [ListPublicPrefixPoolOperationsResponse.next_page_token]
    that can be used to get the next page of results in subsequent list requests.
    Default value is 20.
    """
    page_token: builtins.str
    """Page token. To get the next page of results, set `page_token` to the
    [ListPublicPrefixPoolOperationsResponse.next_page_token] returned by a previous list request.
    """
    def __init__(
        self,
        *,
        public_prefix_pool_id: builtins.str = ...,
        page_size: builtins.int = ...,
        page_token: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["page_size", b"page_size", "page_token", b"page_token", "public_prefix_pool_id", b"public_prefix_pool_id"]) -> None: ...

global___ListPublicPrefixPoolOperationsRequest = ListPublicPrefixPoolOperationsRequest

@typing.final
class ListPublicPrefixPoolOperationsResponse(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    OPERATIONS_FIELD_NUMBER: builtins.int
    NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
    next_page_token: builtins.str
    """Token for getting the next page of the list. If the number of results is greater than
    [ListPublicPrefixPoolOperationsRequest.page_size], use `next_page_token` as the value
    for the [ListPublicPrefixPoolOperationsRequest.page_token] parameter in the next list request.

    Each subsequent page will have its own `next_page_token` to continue paging through the results.
    """
    @property
    def operations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.operation.operation_pb2.Operation]:
        """List of operations for the specified PublicPrefixPool resource."""

    def __init__(
        self,
        *,
        operations: collections.abc.Iterable[yandex.cloud.operation.operation_pb2.Operation] | None = ...,
        next_page_token: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["next_page_token", b"next_page_token", "operations", b"operations"]) -> None: ...

global___ListPublicPrefixPoolOperationsResponse = ListPublicPrefixPoolOperationsResponse
