# @generated by mypy-protobuf.  Do not edit manually!
import sys
from typing import (
    Iterable as typing___Iterable,
    Optional as typing___Optional,
    Text as typing___Text,
)

from google.protobuf.descriptor import (
    Descriptor as google___protobuf___descriptor___Descriptor,
    FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)
from google.protobuf.internal.containers import (
    RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedCompositeFieldContainer,
)
from google.protobuf.message import Message as google___protobuf___message___Message
from typing_extensions import Literal as typing_extensions___Literal

from google.ads.google_ads.v6.proto.enums.custom_audience_member_type_pb2 import (
    CustomAudienceMemberTypeEnum as google___ads___googleads___v6___enums___custom_audience_member_type_pb2___CustomAudienceMemberTypeEnum,
)
from google.ads.google_ads.v6.proto.enums.custom_audience_status_pb2 import (
    CustomAudienceStatusEnum as google___ads___googleads___v6___enums___custom_audience_status_pb2___CustomAudienceStatusEnum,
)
from google.ads.google_ads.v6.proto.enums.custom_audience_type_pb2 import (
    CustomAudienceTypeEnum as google___ads___googleads___v6___enums___custom_audience_type_pb2___CustomAudienceTypeEnum,
)

builtin___bool = bool
builtin___bytes = bytes
builtin___float = float
builtin___int = int

DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...

class CustomAudience(google___protobuf___message___Message):
    DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
    resource_name: typing___Text = ...
    id: builtin___int = ...
    status: google___ads___googleads___v6___enums___custom_audience_status_pb2___CustomAudienceStatusEnum.CustomAudienceStatusValue = ...
    name: typing___Text = ...
    type: google___ads___googleads___v6___enums___custom_audience_type_pb2___CustomAudienceTypeEnum.CustomAudienceTypeValue = ...
    description: typing___Text = ...
    @property
    def members(
        self,
    ) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[
        type___CustomAudienceMember
    ]: ...
    def __init__(
        self,
        *,
        resource_name: typing___Optional[typing___Text] = None,
        id: typing___Optional[builtin___int] = None,
        status: typing___Optional[
            google___ads___googleads___v6___enums___custom_audience_status_pb2___CustomAudienceStatusEnum.CustomAudienceStatusValue
        ] = None,
        name: typing___Optional[typing___Text] = None,
        type: typing___Optional[
            google___ads___googleads___v6___enums___custom_audience_type_pb2___CustomAudienceTypeEnum.CustomAudienceTypeValue
        ] = None,
        description: typing___Optional[typing___Text] = None,
        members: typing___Optional[
            typing___Iterable[type___CustomAudienceMember]
        ] = None,
    ) -> None: ...
    def ClearField(
        self,
        field_name: typing_extensions___Literal[
            "description",
            b"description",
            "id",
            b"id",
            "members",
            b"members",
            "name",
            b"name",
            "resource_name",
            b"resource_name",
            "status",
            b"status",
            "type",
            b"type",
        ],
    ) -> None: ...

type___CustomAudience = CustomAudience

class CustomAudienceMember(google___protobuf___message___Message):
    DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
    member_type: google___ads___googleads___v6___enums___custom_audience_member_type_pb2___CustomAudienceMemberTypeEnum.CustomAudienceMemberTypeValue = ...
    keyword: typing___Text = ...
    url: typing___Text = ...
    place_category: builtin___int = ...
    app: typing___Text = ...
    def __init__(
        self,
        *,
        member_type: typing___Optional[
            google___ads___googleads___v6___enums___custom_audience_member_type_pb2___CustomAudienceMemberTypeEnum.CustomAudienceMemberTypeValue
        ] = None,
        keyword: typing___Optional[typing___Text] = None,
        url: typing___Optional[typing___Text] = None,
        place_category: typing___Optional[builtin___int] = None,
        app: typing___Optional[typing___Text] = None,
    ) -> None: ...
    def HasField(
        self,
        field_name: typing_extensions___Literal[
            "app",
            b"app",
            "keyword",
            b"keyword",
            "place_category",
            b"place_category",
            "url",
            b"url",
            "value",
            b"value",
        ],
    ) -> builtin___bool: ...
    def ClearField(
        self,
        field_name: typing_extensions___Literal[
            "app",
            b"app",
            "keyword",
            b"keyword",
            "member_type",
            b"member_type",
            "place_category",
            b"place_category",
            "url",
            b"url",
            "value",
            b"value",
        ],
    ) -> None: ...
    def WhichOneof(
        self, oneof_group: typing_extensions___Literal["value", b"value"]
    ) -> typing_extensions___Literal["keyword", "url", "place_category", "app"]: ...

type___CustomAudienceMember = CustomAudienceMember
