Enum ManagerLinkErrorEnum.ManagerLinkError

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, java.io.Serializable, java.lang.Comparable<ManagerLinkErrorEnum.ManagerLinkError>
    Enclosing class:
    ManagerLinkErrorEnum

    public static enum ManagerLinkErrorEnum.ManagerLinkError
    extends java.lang.Enum<ManagerLinkErrorEnum.ManagerLinkError>
    implements com.google.protobuf.ProtocolMessageEnum
     Enum describing possible ManagerLink errors.
     
    Protobuf enum google.ads.googleads.v10.errors.ManagerLinkErrorEnum.ManagerLinkError
    • Field Detail

      • UNSPECIFIED_VALUE

        public static final int UNSPECIFIED_VALUE
         Enum unspecified.
         
        UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • UNKNOWN_VALUE

        public static final int UNKNOWN_VALUE
         The received error code is not known in this version.
         
        UNKNOWN = 1;
        See Also:
        Constant Field Values
      • ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING_VALUE

        public static final int ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING_VALUE
         The manager and client have incompatible account types.
         
        ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING = 2;
        See Also:
        Constant Field Values
      • TOO_MANY_MANAGERS_VALUE

        public static final int TOO_MANY_MANAGERS_VALUE
         Client is already linked to too many managers.
         
        TOO_MANY_MANAGERS = 3;
        See Also:
        Constant Field Values
      • TOO_MANY_INVITES_VALUE

        public static final int TOO_MANY_INVITES_VALUE
         Manager has too many pending invitations.
         
        TOO_MANY_INVITES = 4;
        See Also:
        Constant Field Values
      • ALREADY_INVITED_BY_THIS_MANAGER_VALUE

        public static final int ALREADY_INVITED_BY_THIS_MANAGER_VALUE
         Client is already invited by this manager.
         
        ALREADY_INVITED_BY_THIS_MANAGER = 5;
        See Also:
        Constant Field Values
      • ALREADY_MANAGED_BY_THIS_MANAGER_VALUE

        public static final int ALREADY_MANAGED_BY_THIS_MANAGER_VALUE
         The client is already managed by this manager.
         
        ALREADY_MANAGED_BY_THIS_MANAGER = 6;
        See Also:
        Constant Field Values
      • ALREADY_MANAGED_IN_HIERARCHY_VALUE

        public static final int ALREADY_MANAGED_IN_HIERARCHY_VALUE
         Client is already managed in hierarchy.
         
        ALREADY_MANAGED_IN_HIERARCHY = 7;
        See Also:
        Constant Field Values
      • DUPLICATE_CHILD_FOUND_VALUE

        public static final int DUPLICATE_CHILD_FOUND_VALUE
         Manager and sub-manager to be linked have duplicate client.
         
        DUPLICATE_CHILD_FOUND = 8;
        See Also:
        Constant Field Values
      • CLIENT_HAS_NO_ADMIN_USER_VALUE

        public static final int CLIENT_HAS_NO_ADMIN_USER_VALUE
         Client has no active user that can access the client account.
         
        CLIENT_HAS_NO_ADMIN_USER = 9;
        See Also:
        Constant Field Values
      • MAX_DEPTH_EXCEEDED_VALUE

        public static final int MAX_DEPTH_EXCEEDED_VALUE
         Adding this link would exceed the maximum hierarchy depth.
         
        MAX_DEPTH_EXCEEDED = 10;
        See Also:
        Constant Field Values
      • CYCLE_NOT_ALLOWED_VALUE

        public static final int CYCLE_NOT_ALLOWED_VALUE
         Adding this link will create a cycle.
         
        CYCLE_NOT_ALLOWED = 11;
        See Also:
        Constant Field Values
      • TOO_MANY_ACCOUNTS_VALUE

        public static final int TOO_MANY_ACCOUNTS_VALUE
         Manager account has the maximum number of linked clients.
         
        TOO_MANY_ACCOUNTS = 12;
        See Also:
        Constant Field Values
      • TOO_MANY_ACCOUNTS_AT_MANAGER_VALUE

        public static final int TOO_MANY_ACCOUNTS_AT_MANAGER_VALUE
         Parent manager account has the maximum number of linked clients.
         
        TOO_MANY_ACCOUNTS_AT_MANAGER = 13;
        See Also:
        Constant Field Values
      • NON_OWNER_USER_CANNOT_MODIFY_LINK_VALUE

        public static final int NON_OWNER_USER_CANNOT_MODIFY_LINK_VALUE
         The account is not authorized owner.
         
        NON_OWNER_USER_CANNOT_MODIFY_LINK = 14;
        See Also:
        Constant Field Values
      • SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS_VALUE

        public static final int SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS_VALUE
         Your manager account is suspended, and you are no longer allowed to link
         to clients.
         
        SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS = 15;
        See Also:
        Constant Field Values
      • CLIENT_OUTSIDE_TREE_VALUE

        public static final int CLIENT_OUTSIDE_TREE_VALUE
         You are not allowed to move a client to a manager that is not under your
         current hierarchy.
         
        CLIENT_OUTSIDE_TREE = 16;
        See Also:
        Constant Field Values
      • INVALID_STATUS_CHANGE_VALUE

        public static final int INVALID_STATUS_CHANGE_VALUE
         The changed status for mutate link is invalid.
         
        INVALID_STATUS_CHANGE = 17;
        See Also:
        Constant Field Values
      • INVALID_CHANGE_VALUE

        public static final int INVALID_CHANGE_VALUE
         The change for mutate link is invalid.
         
        INVALID_CHANGE = 18;
        See Also:
        Constant Field Values
      • CUSTOMER_CANNOT_MANAGE_SELF_VALUE

        public static final int CUSTOMER_CANNOT_MANAGE_SELF_VALUE
         You are not allowed to link a manager account to itself.
         
        CUSTOMER_CANNOT_MANAGE_SELF = 19;
        See Also:
        Constant Field Values
      • CREATING_ENABLED_LINK_NOT_ALLOWED_VALUE

        public static final int CREATING_ENABLED_LINK_NOT_ALLOWED_VALUE
         The link was created with status ACTIVE and not PENDING.
         
        CREATING_ENABLED_LINK_NOT_ALLOWED = 20;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static ManagerLinkErrorEnum.ManagerLinkError[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ManagerLinkErrorEnum.ManagerLinkError c : ManagerLinkErrorEnum.ManagerLinkError.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ManagerLinkErrorEnum.ManagerLinkError valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.google.protobuf.ProtocolMessageEnum
      • valueOf

        @Deprecated
        public static ManagerLinkErrorEnum.ManagerLinkError valueOf​(int value)
        Deprecated.
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        value - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • forNumber

        public static ManagerLinkErrorEnum.ManagerLinkError forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptor

        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static ManagerLinkErrorEnum.ManagerLinkError valueOf​(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        desc - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null