# @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 CustomerClientLinkErrorEnum(google___protobuf___message___Message):
    DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
    class CustomerClientLinkError(int):
        DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
        @classmethod
        def Name(cls, number: int) -> str: ...
        @classmethod
        def Value(cls, name: str) -> CustomerClientLinkErrorEnum.CustomerClientLinkError: ...
        @classmethod
        def keys(cls) -> typing___List[str]: ...
        @classmethod
        def values(cls) -> typing___List[CustomerClientLinkErrorEnum.CustomerClientLinkError]: ...
        @classmethod
        def items(cls) -> typing___List[typing___Tuple[str, CustomerClientLinkErrorEnum.CustomerClientLinkError]]: ...
        UNSPECIFIED = typing___cast(CustomerClientLinkErrorEnum.CustomerClientLinkError, 0)
        UNKNOWN = typing___cast(CustomerClientLinkErrorEnum.CustomerClientLinkError, 1)
        CLIENT_ALREADY_INVITED_BY_THIS_MANAGER = typing___cast(CustomerClientLinkErrorEnum.CustomerClientLinkError, 2)
        CLIENT_ALREADY_MANAGED_IN_HIERARCHY = typing___cast(CustomerClientLinkErrorEnum.CustomerClientLinkError, 3)
        CYCLIC_LINK_NOT_ALLOWED = typing___cast(CustomerClientLinkErrorEnum.CustomerClientLinkError, 4)
        CUSTOMER_HAS_TOO_MANY_ACCOUNTS = typing___cast(CustomerClientLinkErrorEnum.CustomerClientLinkError, 5)
        CLIENT_HAS_TOO_MANY_INVITATIONS = typing___cast(CustomerClientLinkErrorEnum.CustomerClientLinkError, 6)
        CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS = typing___cast(CustomerClientLinkErrorEnum.CustomerClientLinkError, 7)
        CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER = typing___cast(CustomerClientLinkErrorEnum.CustomerClientLinkError, 8)
    UNSPECIFIED = typing___cast(CustomerClientLinkErrorEnum.CustomerClientLinkError, 0)
    UNKNOWN = typing___cast(CustomerClientLinkErrorEnum.CustomerClientLinkError, 1)
    CLIENT_ALREADY_INVITED_BY_THIS_MANAGER = typing___cast(CustomerClientLinkErrorEnum.CustomerClientLinkError, 2)
    CLIENT_ALREADY_MANAGED_IN_HIERARCHY = typing___cast(CustomerClientLinkErrorEnum.CustomerClientLinkError, 3)
    CYCLIC_LINK_NOT_ALLOWED = typing___cast(CustomerClientLinkErrorEnum.CustomerClientLinkError, 4)
    CUSTOMER_HAS_TOO_MANY_ACCOUNTS = typing___cast(CustomerClientLinkErrorEnum.CustomerClientLinkError, 5)
    CLIENT_HAS_TOO_MANY_INVITATIONS = typing___cast(CustomerClientLinkErrorEnum.CustomerClientLinkError, 6)
    CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS = typing___cast(CustomerClientLinkErrorEnum.CustomerClientLinkError, 7)
    CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER = typing___cast(CustomerClientLinkErrorEnum.CustomerClientLinkError, 8)


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