Enum CustomerManagerLinkErrorEnum.CustomerManagerLinkError

    • 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
      • NO_PENDING_INVITE_VALUE

        public static final int NO_PENDING_INVITE_VALUE
         No pending invitation.
         
        NO_PENDING_INVITE = 2;
        See Also:
        Constant Field Values
      • SAME_CLIENT_MORE_THAN_ONCE_PER_CALL_VALUE

        public static final int SAME_CLIENT_MORE_THAN_ONCE_PER_CALL_VALUE
         Attempt to operate on the same client more than once in the same call.
         
        SAME_CLIENT_MORE_THAN_ONCE_PER_CALL = 3;
        See Also:
        Constant Field Values
      • MANAGER_HAS_MAX_NUMBER_OF_LINKED_ACCOUNTS_VALUE

        public static final int MANAGER_HAS_MAX_NUMBER_OF_LINKED_ACCOUNTS_VALUE
         Manager account has the maximum number of linked accounts.
         
        MANAGER_HAS_MAX_NUMBER_OF_LINKED_ACCOUNTS = 4;
        See Also:
        Constant Field Values
      • CANNOT_UNLINK_ACCOUNT_WITHOUT_ACTIVE_USER_VALUE

        public static final int CANNOT_UNLINK_ACCOUNT_WITHOUT_ACTIVE_USER_VALUE
         If no active user on account it cannot be unlinked from its manager.
         
        CANNOT_UNLINK_ACCOUNT_WITHOUT_ACTIVE_USER = 5;
        See Also:
        Constant Field Values
      • CANNOT_REMOVE_LAST_CLIENT_ACCOUNT_OWNER_VALUE

        public static final int CANNOT_REMOVE_LAST_CLIENT_ACCOUNT_OWNER_VALUE
         Account should have at least one active owner on it before being
         unlinked.
         
        CANNOT_REMOVE_LAST_CLIENT_ACCOUNT_OWNER = 6;
        See Also:
        Constant Field Values
      • CANNOT_CHANGE_ROLE_BY_NON_ACCOUNT_OWNER_VALUE

        public static final int CANNOT_CHANGE_ROLE_BY_NON_ACCOUNT_OWNER_VALUE
         Only account owners may change their permission role.
         
        CANNOT_CHANGE_ROLE_BY_NON_ACCOUNT_OWNER = 7;
        See Also:
        Constant Field Values
      • CANNOT_CHANGE_ROLE_FOR_NON_ACTIVE_LINK_ACCOUNT_VALUE

        public static final int CANNOT_CHANGE_ROLE_FOR_NON_ACTIVE_LINK_ACCOUNT_VALUE
         When a client's link to its manager is not active, the link role cannot
         be changed.
         
        CANNOT_CHANGE_ROLE_FOR_NON_ACTIVE_LINK_ACCOUNT = 8;
        See Also:
        Constant Field Values
      • DUPLICATE_CHILD_FOUND_VALUE

        public static final int DUPLICATE_CHILD_FOUND_VALUE
         Attempt to link a child to a parent that contains or will contain
         duplicate children.
         
        DUPLICATE_CHILD_FOUND = 9;
        See Also:
        Constant Field Values
      • TEST_ACCOUNT_LINKS_TOO_MANY_CHILD_ACCOUNTS_VALUE

        public static final int TEST_ACCOUNT_LINKS_TOO_MANY_CHILD_ACCOUNTS_VALUE
         The authorized customer is a test account. It can add no more than the
         allowed number of accounts
         
        TEST_ACCOUNT_LINKS_TOO_MANY_CHILD_ACCOUNTS = 10;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static CustomerManagerLinkErrorEnum.CustomerManagerLinkError[] 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 (CustomerManagerLinkErrorEnum.CustomerManagerLinkError c : CustomerManagerLinkErrorEnum.CustomerManagerLinkError.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CustomerManagerLinkErrorEnum.CustomerManagerLinkError 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 CustomerManagerLinkErrorEnum.CustomerManagerLinkError 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
      • 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 CustomerManagerLinkErrorEnum.CustomerManagerLinkError 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