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

from collections import abc as _abc
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf.internal import containers as _containers
from instamadilloCoreTypeMedia import InstamadilloCoreTypeMedia_pb2 as _InstamadilloCoreTypeMedia_pb2
import builtins as _builtins
import sys
import typing as _typing

if sys.version_info >= (3, 10):
    from typing import TypeAlias as _TypeAlias
else:
    from typing_extensions import TypeAlias as _TypeAlias

DESCRIPTOR: _descriptor.FileDescriptor

@_typing.final
class Link(_message.Message):
    DESCRIPTOR: _descriptor.Descriptor

    TEXT_FIELD_NUMBER: _builtins.int
    LINKCONTEXT_FIELD_NUMBER: _builtins.int
    text: _builtins.str
    @_builtins.property
    def linkContext(self) -> Global___LinkContext: ...
    def __init__(
        self,
        *,
        text: _builtins.str | None = ...,
        linkContext: Global___LinkContext | None = ...,
    ) -> None: ...
    _HasFieldArgType: _TypeAlias = _typing.Literal["linkContext", b"linkContext", "text", b"text"]  # noqa: Y015
    def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
    _ClearFieldArgType: _TypeAlias = _typing.Literal["linkContext", b"linkContext", "text", b"text"]  # noqa: Y015
    def ClearField(self, field_name: _ClearFieldArgType) -> None: ...

Global___Link: _TypeAlias = Link  # noqa: Y015

@_typing.final
class LinkContext(_message.Message):
    DESCRIPTOR: _descriptor.Descriptor

    LINKIMAGEURL_FIELD_NUMBER: _builtins.int
    LINKPREVIEWTITLE_FIELD_NUMBER: _builtins.int
    LINKURL_FIELD_NUMBER: _builtins.int
    LINKSUMMARY_FIELD_NUMBER: _builtins.int
    LINKMUSICPREVIEWURL_FIELD_NUMBER: _builtins.int
    LINKMUSICPREVIEWCOUNTRIESALLOWED_FIELD_NUMBER: _builtins.int
    LINKPREVIEWTHUMBNAIL_FIELD_NUMBER: _builtins.int
    LINKPREVIEWBODY_FIELD_NUMBER: _builtins.int
    linkPreviewTitle: _builtins.str
    linkURL: _builtins.str
    linkSummary: _builtins.str
    linkMusicPreviewURL: _builtins.str
    linkPreviewBody: _builtins.str
    @_builtins.property
    def linkImageURL(self) -> Global___ImageUrl: ...
    @_builtins.property
    def linkMusicPreviewCountriesAllowed(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ...
    @_builtins.property
    def linkPreviewThumbnail(self) -> _InstamadilloCoreTypeMedia_pb2.Thumbnail: ...
    def __init__(
        self,
        *,
        linkImageURL: Global___ImageUrl | None = ...,
        linkPreviewTitle: _builtins.str | None = ...,
        linkURL: _builtins.str | None = ...,
        linkSummary: _builtins.str | None = ...,
        linkMusicPreviewURL: _builtins.str | None = ...,
        linkMusicPreviewCountriesAllowed: _abc.Iterable[_builtins.str] | None = ...,
        linkPreviewThumbnail: _InstamadilloCoreTypeMedia_pb2.Thumbnail | None = ...,
        linkPreviewBody: _builtins.str | None = ...,
    ) -> None: ...
    _HasFieldArgType: _TypeAlias = _typing.Literal["linkImageURL", b"linkImageURL", "linkMusicPreviewURL", b"linkMusicPreviewURL", "linkPreviewBody", b"linkPreviewBody", "linkPreviewThumbnail", b"linkPreviewThumbnail", "linkPreviewTitle", b"linkPreviewTitle", "linkSummary", b"linkSummary", "linkURL", b"linkURL"]  # noqa: Y015
    def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
    _ClearFieldArgType: _TypeAlias = _typing.Literal["linkImageURL", b"linkImageURL", "linkMusicPreviewCountriesAllowed", b"linkMusicPreviewCountriesAllowed", "linkMusicPreviewURL", b"linkMusicPreviewURL", "linkPreviewBody", b"linkPreviewBody", "linkPreviewThumbnail", b"linkPreviewThumbnail", "linkPreviewTitle", b"linkPreviewTitle", "linkSummary", b"linkSummary", "linkURL", b"linkURL"]  # noqa: Y015
    def ClearField(self, field_name: _ClearFieldArgType) -> None: ...

Global___LinkContext: _TypeAlias = LinkContext  # noqa: Y015

@_typing.final
class ImageUrl(_message.Message):
    DESCRIPTOR: _descriptor.Descriptor

    URL_FIELD_NUMBER: _builtins.int
    WIDTH_FIELD_NUMBER: _builtins.int
    HEIGHT_FIELD_NUMBER: _builtins.int
    URL: _builtins.str
    width: _builtins.int
    height: _builtins.int
    def __init__(
        self,
        *,
        URL: _builtins.str | None = ...,
        width: _builtins.int | None = ...,
        height: _builtins.int | None = ...,
    ) -> None: ...
    _HasFieldArgType: _TypeAlias = _typing.Literal["URL", b"URL", "height", b"height", "width", b"width"]  # noqa: Y015
    def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
    _ClearFieldArgType: _TypeAlias = _typing.Literal["URL", b"URL", "height", b"height", "width", b"width"]  # noqa: Y015
    def ClearField(self, field_name: _ClearFieldArgType) -> None: ...

Global___ImageUrl: _TypeAlias = ImageUrl  # noqa: Y015
