# @generated by generate_proto_mypy_stubs.py.  Do not edit!
import sys
from google.protobuf.descriptor import (
    Descriptor as google___protobuf___descriptor___Descriptor,
    EnumDescriptor as google___protobuf___descriptor___EnumDescriptor,
)

from google.protobuf.message import (
    Message as google___protobuf___message___Message,
)

from typing import (
    List as typing___List,
    Tuple as typing___Tuple,
    cast as typing___cast,
)


class AdGroupAdErrorEnum(google___protobuf___message___Message):
    DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
    class AdGroupAdError(int):
        DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
        @classmethod
        def Name(cls, number: int) -> str: ...
        @classmethod
        def Value(cls, name: str) -> AdGroupAdErrorEnum.AdGroupAdError: ...
        @classmethod
        def keys(cls) -> typing___List[str]: ...
        @classmethod
        def values(cls) -> typing___List[AdGroupAdErrorEnum.AdGroupAdError]: ...
        @classmethod
        def items(cls) -> typing___List[typing___Tuple[str, AdGroupAdErrorEnum.AdGroupAdError]]: ...
        UNSPECIFIED = typing___cast(AdGroupAdErrorEnum.AdGroupAdError, 0)
        UNKNOWN = typing___cast(AdGroupAdErrorEnum.AdGroupAdError, 1)
        AD_GROUP_AD_LABEL_DOES_NOT_EXIST = typing___cast(AdGroupAdErrorEnum.AdGroupAdError, 2)
        AD_GROUP_AD_LABEL_ALREADY_EXISTS = typing___cast(AdGroupAdErrorEnum.AdGroupAdError, 3)
        AD_NOT_UNDER_ADGROUP = typing___cast(AdGroupAdErrorEnum.AdGroupAdError, 4)
        CANNOT_OPERATE_ON_REMOVED_ADGROUPAD = typing___cast(AdGroupAdErrorEnum.AdGroupAdError, 5)
        CANNOT_CREATE_DEPRECATED_ADS = typing___cast(AdGroupAdErrorEnum.AdGroupAdError, 6)
        CANNOT_CREATE_TEXT_ADS = typing___cast(AdGroupAdErrorEnum.AdGroupAdError, 7)
        EMPTY_FIELD = typing___cast(AdGroupAdErrorEnum.AdGroupAdError, 8)
        RESOURCE_REFERENCED_IN_MULTIPLE_OPS = typing___cast(AdGroupAdErrorEnum.AdGroupAdError, 9)
    UNSPECIFIED = typing___cast(AdGroupAdErrorEnum.AdGroupAdError, 0)
    UNKNOWN = typing___cast(AdGroupAdErrorEnum.AdGroupAdError, 1)
    AD_GROUP_AD_LABEL_DOES_NOT_EXIST = typing___cast(AdGroupAdErrorEnum.AdGroupAdError, 2)
    AD_GROUP_AD_LABEL_ALREADY_EXISTS = typing___cast(AdGroupAdErrorEnum.AdGroupAdError, 3)
    AD_NOT_UNDER_ADGROUP = typing___cast(AdGroupAdErrorEnum.AdGroupAdError, 4)
    CANNOT_OPERATE_ON_REMOVED_ADGROUPAD = typing___cast(AdGroupAdErrorEnum.AdGroupAdError, 5)
    CANNOT_CREATE_DEPRECATED_ADS = typing___cast(AdGroupAdErrorEnum.AdGroupAdError, 6)
    CANNOT_CREATE_TEXT_ADS = typing___cast(AdGroupAdErrorEnum.AdGroupAdError, 7)
    EMPTY_FIELD = typing___cast(AdGroupAdErrorEnum.AdGroupAdError, 8)
    RESOURCE_REFERENCED_IN_MULTIPLE_OPS = typing___cast(AdGroupAdErrorEnum.AdGroupAdError, 9)


    def __init__(self,
        ) -> None: ...
    @classmethod
    def FromString(cls, s: bytes) -> AdGroupAdErrorEnum: ...
    def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
    def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
