Enum ErrorCode

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<ErrorCode>

    @Deprecated
    public enum ErrorCode
    extends Enum<ErrorCode>
    implements com.google.protobuf.ProtocolMessageEnum
    Deprecated.
     Deprecated
     
    Protobuf enum milvus.proto.common.ErrorCode
    • Enum Constant Detail

      • Success

        public static final ErrorCode Success
        Deprecated.
        Success = 0;
      • UnexpectedError

        public static final ErrorCode UnexpectedError
        Deprecated.
        UnexpectedError = 1;
      • ConnectFailed

        public static final ErrorCode ConnectFailed
        Deprecated.
        ConnectFailed = 2;
      • PermissionDenied

        public static final ErrorCode PermissionDenied
        Deprecated.
        PermissionDenied = 3;
      • CollectionNotExists

        public static final ErrorCode CollectionNotExists
        Deprecated.
        CollectionNotExists = 4;
      • IllegalArgument

        public static final ErrorCode IllegalArgument
        Deprecated.
        IllegalArgument = 5;
      • IllegalDimension

        public static final ErrorCode IllegalDimension
        Deprecated.
        IllegalDimension = 7;
      • IllegalIndexType

        public static final ErrorCode IllegalIndexType
        Deprecated.
        IllegalIndexType = 8;
      • IllegalCollectionName

        public static final ErrorCode IllegalCollectionName
        Deprecated.
        IllegalCollectionName = 9;
      • IllegalTOPK

        public static final ErrorCode IllegalTOPK
        Deprecated.
        IllegalTOPK = 10;
      • IllegalRowRecord

        public static final ErrorCode IllegalRowRecord
        Deprecated.
        IllegalRowRecord = 11;
      • IllegalVectorID

        public static final ErrorCode IllegalVectorID
        Deprecated.
        IllegalVectorID = 12;
      • IllegalSearchResult

        public static final ErrorCode IllegalSearchResult
        Deprecated.
        IllegalSearchResult = 13;
      • FileNotFound

        public static final ErrorCode FileNotFound
        Deprecated.
        FileNotFound = 14;
      • MetaFailed

        public static final ErrorCode MetaFailed
        Deprecated.
        MetaFailed = 15;
      • CacheFailed

        public static final ErrorCode CacheFailed
        Deprecated.
        CacheFailed = 16;
      • CannotCreateFolder

        public static final ErrorCode CannotCreateFolder
        Deprecated.
        CannotCreateFolder = 17;
      • CannotCreateFile

        public static final ErrorCode CannotCreateFile
        Deprecated.
        CannotCreateFile = 18;
      • CannotDeleteFolder

        public static final ErrorCode CannotDeleteFolder
        Deprecated.
        CannotDeleteFolder = 19;
      • CannotDeleteFile

        public static final ErrorCode CannotDeleteFile
        Deprecated.
        CannotDeleteFile = 20;
      • BuildIndexError

        public static final ErrorCode BuildIndexError
        Deprecated.
        BuildIndexError = 21;
      • IllegalNLIST

        public static final ErrorCode IllegalNLIST
        Deprecated.
        IllegalNLIST = 22;
      • IllegalMetricType

        public static final ErrorCode IllegalMetricType
        Deprecated.
        IllegalMetricType = 23;
      • OutOfMemory

        public static final ErrorCode OutOfMemory
        Deprecated.
        OutOfMemory = 24;
      • IndexNotExist

        public static final ErrorCode IndexNotExist
        Deprecated.
        IndexNotExist = 25;
      • EmptyCollection

        public static final ErrorCode EmptyCollection
        Deprecated.
        EmptyCollection = 26;
      • UpdateImportTaskFailure

        public static final ErrorCode UpdateImportTaskFailure
        Deprecated.
        UpdateImportTaskFailure = 27;
      • CollectionNameNotFound

        public static final ErrorCode CollectionNameNotFound
        Deprecated.
        CollectionNameNotFound = 28;
      • CreateCredentialFailure

        public static final ErrorCode CreateCredentialFailure
        Deprecated.
        CreateCredentialFailure = 29;
      • UpdateCredentialFailure

        public static final ErrorCode UpdateCredentialFailure
        Deprecated.
        UpdateCredentialFailure = 30;
      • DeleteCredentialFailure

        public static final ErrorCode DeleteCredentialFailure
        Deprecated.
        DeleteCredentialFailure = 31;
      • GetCredentialFailure

        public static final ErrorCode GetCredentialFailure
        Deprecated.
        GetCredentialFailure = 32;
      • ListCredUsersFailure

        public static final ErrorCode ListCredUsersFailure
        Deprecated.
        ListCredUsersFailure = 33;
      • GetUserFailure

        public static final ErrorCode GetUserFailure
        Deprecated.
        GetUserFailure = 34;
      • CreateRoleFailure

        public static final ErrorCode CreateRoleFailure
        Deprecated.
        CreateRoleFailure = 35;
      • DropRoleFailure

        public static final ErrorCode DropRoleFailure
        Deprecated.
        DropRoleFailure = 36;
      • OperateUserRoleFailure

        public static final ErrorCode OperateUserRoleFailure
        Deprecated.
        OperateUserRoleFailure = 37;
      • SelectRoleFailure

        public static final ErrorCode SelectRoleFailure
        Deprecated.
        SelectRoleFailure = 38;
      • SelectUserFailure

        public static final ErrorCode SelectUserFailure
        Deprecated.
        SelectUserFailure = 39;
      • SelectResourceFailure

        public static final ErrorCode SelectResourceFailure
        Deprecated.
        SelectResourceFailure = 40;
      • OperatePrivilegeFailure

        public static final ErrorCode OperatePrivilegeFailure
        Deprecated.
        OperatePrivilegeFailure = 41;
      • SelectGrantFailure

        public static final ErrorCode SelectGrantFailure
        Deprecated.
        SelectGrantFailure = 42;
      • RefreshPolicyInfoCacheFailure

        public static final ErrorCode RefreshPolicyInfoCacheFailure
        Deprecated.
        RefreshPolicyInfoCacheFailure = 43;
      • ListPolicyFailure

        public static final ErrorCode ListPolicyFailure
        Deprecated.
        ListPolicyFailure = 44;
      • NotShardLeader

        public static final ErrorCode NotShardLeader
        Deprecated.
        NotShardLeader = 45;
      • NoReplicaAvailable

        public static final ErrorCode NoReplicaAvailable
        Deprecated.
        NoReplicaAvailable = 46;
      • SegmentNotFound

        public static final ErrorCode SegmentNotFound
        Deprecated.
        SegmentNotFound = 47;
      • ForceDeny

        public static final ErrorCode ForceDeny
        Deprecated.
        ForceDeny = 48;
      • RateLimit

        public static final ErrorCode RateLimit
        Deprecated.
        RateLimit = 49;
      • NodeIDNotMatch

        public static final ErrorCode NodeIDNotMatch
        Deprecated.
        NodeIDNotMatch = 50;
      • UpsertAutoIDTrue

        public static final ErrorCode UpsertAutoIDTrue
        Deprecated.
        UpsertAutoIDTrue = 51;
      • InsufficientMemoryToLoad

        public static final ErrorCode InsufficientMemoryToLoad
        Deprecated.
        InsufficientMemoryToLoad = 52;
      • MemoryQuotaExhausted

        public static final ErrorCode MemoryQuotaExhausted
        Deprecated.
        MemoryQuotaExhausted = 53;
      • DiskQuotaExhausted

        public static final ErrorCode DiskQuotaExhausted
        Deprecated.
        DiskQuotaExhausted = 54;
      • TimeTickLongDelay

        public static final ErrorCode TimeTickLongDelay
        Deprecated.
        TimeTickLongDelay = 55;
      • NotReadyServe

        public static final ErrorCode NotReadyServe
        Deprecated.
        NotReadyServe = 56;
      • NotReadyCoordActivating

        public static final ErrorCode NotReadyCoordActivating
        Deprecated.
         Coord is switching from standby mode to active mode
         
        NotReadyCoordActivating = 57;
      • DataCoordNA

        public static final ErrorCode DataCoordNA
        Deprecated.
         Service availability.
         NA: Not Available.
         
        DataCoordNA = 100;
      • DDRequestRace

        public static final ErrorCode DDRequestRace
        Deprecated.
         internal error code.
         
        DDRequestRace = 1000;
      • UNRECOGNIZED

        public static final ErrorCode UNRECOGNIZED
        Deprecated.
    • Field Detail

      • Success_VALUE

        public static final int Success_VALUE
        Deprecated.
        Success = 0;
        See Also:
        Constant Field Values
      • UnexpectedError_VALUE

        public static final int UnexpectedError_VALUE
        Deprecated.
        UnexpectedError = 1;
        See Also:
        Constant Field Values
      • ConnectFailed_VALUE

        public static final int ConnectFailed_VALUE
        Deprecated.
        ConnectFailed = 2;
        See Also:
        Constant Field Values
      • PermissionDenied_VALUE

        public static final int PermissionDenied_VALUE
        Deprecated.
        PermissionDenied = 3;
        See Also:
        Constant Field Values
      • CollectionNotExists_VALUE

        public static final int CollectionNotExists_VALUE
        Deprecated.
        CollectionNotExists = 4;
        See Also:
        Constant Field Values
      • IllegalArgument_VALUE

        public static final int IllegalArgument_VALUE
        Deprecated.
        IllegalArgument = 5;
        See Also:
        Constant Field Values
      • IllegalDimension_VALUE

        public static final int IllegalDimension_VALUE
        Deprecated.
        IllegalDimension = 7;
        See Also:
        Constant Field Values
      • IllegalIndexType_VALUE

        public static final int IllegalIndexType_VALUE
        Deprecated.
        IllegalIndexType = 8;
        See Also:
        Constant Field Values
      • IllegalCollectionName_VALUE

        public static final int IllegalCollectionName_VALUE
        Deprecated.
        IllegalCollectionName = 9;
        See Also:
        Constant Field Values
      • IllegalTOPK_VALUE

        public static final int IllegalTOPK_VALUE
        Deprecated.
        IllegalTOPK = 10;
        See Also:
        Constant Field Values
      • IllegalRowRecord_VALUE

        public static final int IllegalRowRecord_VALUE
        Deprecated.
        IllegalRowRecord = 11;
        See Also:
        Constant Field Values
      • IllegalVectorID_VALUE

        public static final int IllegalVectorID_VALUE
        Deprecated.
        IllegalVectorID = 12;
        See Also:
        Constant Field Values
      • IllegalSearchResult_VALUE

        public static final int IllegalSearchResult_VALUE
        Deprecated.
        IllegalSearchResult = 13;
        See Also:
        Constant Field Values
      • FileNotFound_VALUE

        public static final int FileNotFound_VALUE
        Deprecated.
        FileNotFound = 14;
        See Also:
        Constant Field Values
      • MetaFailed_VALUE

        public static final int MetaFailed_VALUE
        Deprecated.
        MetaFailed = 15;
        See Also:
        Constant Field Values
      • CacheFailed_VALUE

        public static final int CacheFailed_VALUE
        Deprecated.
        CacheFailed = 16;
        See Also:
        Constant Field Values
      • CannotCreateFolder_VALUE

        public static final int CannotCreateFolder_VALUE
        Deprecated.
        CannotCreateFolder = 17;
        See Also:
        Constant Field Values
      • CannotCreateFile_VALUE

        public static final int CannotCreateFile_VALUE
        Deprecated.
        CannotCreateFile = 18;
        See Also:
        Constant Field Values
      • CannotDeleteFolder_VALUE

        public static final int CannotDeleteFolder_VALUE
        Deprecated.
        CannotDeleteFolder = 19;
        See Also:
        Constant Field Values
      • CannotDeleteFile_VALUE

        public static final int CannotDeleteFile_VALUE
        Deprecated.
        CannotDeleteFile = 20;
        See Also:
        Constant Field Values
      • BuildIndexError_VALUE

        public static final int BuildIndexError_VALUE
        Deprecated.
        BuildIndexError = 21;
        See Also:
        Constant Field Values
      • IllegalNLIST_VALUE

        public static final int IllegalNLIST_VALUE
        Deprecated.
        IllegalNLIST = 22;
        See Also:
        Constant Field Values
      • IllegalMetricType_VALUE

        public static final int IllegalMetricType_VALUE
        Deprecated.
        IllegalMetricType = 23;
        See Also:
        Constant Field Values
      • OutOfMemory_VALUE

        public static final int OutOfMemory_VALUE
        Deprecated.
        OutOfMemory = 24;
        See Also:
        Constant Field Values
      • IndexNotExist_VALUE

        public static final int IndexNotExist_VALUE
        Deprecated.
        IndexNotExist = 25;
        See Also:
        Constant Field Values
      • EmptyCollection_VALUE

        public static final int EmptyCollection_VALUE
        Deprecated.
        EmptyCollection = 26;
        See Also:
        Constant Field Values
      • UpdateImportTaskFailure_VALUE

        public static final int UpdateImportTaskFailure_VALUE
        Deprecated.
        UpdateImportTaskFailure = 27;
        See Also:
        Constant Field Values
      • CollectionNameNotFound_VALUE

        public static final int CollectionNameNotFound_VALUE
        Deprecated.
        CollectionNameNotFound = 28;
        See Also:
        Constant Field Values
      • CreateCredentialFailure_VALUE

        public static final int CreateCredentialFailure_VALUE
        Deprecated.
        CreateCredentialFailure = 29;
        See Also:
        Constant Field Values
      • UpdateCredentialFailure_VALUE

        public static final int UpdateCredentialFailure_VALUE
        Deprecated.
        UpdateCredentialFailure = 30;
        See Also:
        Constant Field Values
      • DeleteCredentialFailure_VALUE

        public static final int DeleteCredentialFailure_VALUE
        Deprecated.
        DeleteCredentialFailure = 31;
        See Also:
        Constant Field Values
      • GetCredentialFailure_VALUE

        public static final int GetCredentialFailure_VALUE
        Deprecated.
        GetCredentialFailure = 32;
        See Also:
        Constant Field Values
      • ListCredUsersFailure_VALUE

        public static final int ListCredUsersFailure_VALUE
        Deprecated.
        ListCredUsersFailure = 33;
        See Also:
        Constant Field Values
      • GetUserFailure_VALUE

        public static final int GetUserFailure_VALUE
        Deprecated.
        GetUserFailure = 34;
        See Also:
        Constant Field Values
      • CreateRoleFailure_VALUE

        public static final int CreateRoleFailure_VALUE
        Deprecated.
        CreateRoleFailure = 35;
        See Also:
        Constant Field Values
      • DropRoleFailure_VALUE

        public static final int DropRoleFailure_VALUE
        Deprecated.
        DropRoleFailure = 36;
        See Also:
        Constant Field Values
      • OperateUserRoleFailure_VALUE

        public static final int OperateUserRoleFailure_VALUE
        Deprecated.
        OperateUserRoleFailure = 37;
        See Also:
        Constant Field Values
      • SelectRoleFailure_VALUE

        public static final int SelectRoleFailure_VALUE
        Deprecated.
        SelectRoleFailure = 38;
        See Also:
        Constant Field Values
      • SelectUserFailure_VALUE

        public static final int SelectUserFailure_VALUE
        Deprecated.
        SelectUserFailure = 39;
        See Also:
        Constant Field Values
      • SelectResourceFailure_VALUE

        public static final int SelectResourceFailure_VALUE
        Deprecated.
        SelectResourceFailure = 40;
        See Also:
        Constant Field Values
      • OperatePrivilegeFailure_VALUE

        public static final int OperatePrivilegeFailure_VALUE
        Deprecated.
        OperatePrivilegeFailure = 41;
        See Also:
        Constant Field Values
      • SelectGrantFailure_VALUE

        public static final int SelectGrantFailure_VALUE
        Deprecated.
        SelectGrantFailure = 42;
        See Also:
        Constant Field Values
      • RefreshPolicyInfoCacheFailure_VALUE

        public static final int RefreshPolicyInfoCacheFailure_VALUE
        Deprecated.
        RefreshPolicyInfoCacheFailure = 43;
        See Also:
        Constant Field Values
      • ListPolicyFailure_VALUE

        public static final int ListPolicyFailure_VALUE
        Deprecated.
        ListPolicyFailure = 44;
        See Also:
        Constant Field Values
      • NotShardLeader_VALUE

        public static final int NotShardLeader_VALUE
        Deprecated.
        NotShardLeader = 45;
        See Also:
        Constant Field Values
      • NoReplicaAvailable_VALUE

        public static final int NoReplicaAvailable_VALUE
        Deprecated.
        NoReplicaAvailable = 46;
        See Also:
        Constant Field Values
      • SegmentNotFound_VALUE

        public static final int SegmentNotFound_VALUE
        Deprecated.
        SegmentNotFound = 47;
        See Also:
        Constant Field Values
      • ForceDeny_VALUE

        public static final int ForceDeny_VALUE
        Deprecated.
        ForceDeny = 48;
        See Also:
        Constant Field Values
      • RateLimit_VALUE

        public static final int RateLimit_VALUE
        Deprecated.
        RateLimit = 49;
        See Also:
        Constant Field Values
      • NodeIDNotMatch_VALUE

        public static final int NodeIDNotMatch_VALUE
        Deprecated.
        NodeIDNotMatch = 50;
        See Also:
        Constant Field Values
      • UpsertAutoIDTrue_VALUE

        public static final int UpsertAutoIDTrue_VALUE
        Deprecated.
        UpsertAutoIDTrue = 51;
        See Also:
        Constant Field Values
      • InsufficientMemoryToLoad_VALUE

        public static final int InsufficientMemoryToLoad_VALUE
        Deprecated.
        InsufficientMemoryToLoad = 52;
        See Also:
        Constant Field Values
      • MemoryQuotaExhausted_VALUE

        public static final int MemoryQuotaExhausted_VALUE
        Deprecated.
        MemoryQuotaExhausted = 53;
        See Also:
        Constant Field Values
      • DiskQuotaExhausted_VALUE

        public static final int DiskQuotaExhausted_VALUE
        Deprecated.
        DiskQuotaExhausted = 54;
        See Also:
        Constant Field Values
      • TimeTickLongDelay_VALUE

        public static final int TimeTickLongDelay_VALUE
        Deprecated.
        TimeTickLongDelay = 55;
        See Also:
        Constant Field Values
      • NotReadyServe_VALUE

        public static final int NotReadyServe_VALUE
        Deprecated.
        NotReadyServe = 56;
        See Also:
        Constant Field Values
      • NotReadyCoordActivating_VALUE

        public static final int NotReadyCoordActivating_VALUE
        Deprecated.
         Coord is switching from standby mode to active mode
         
        NotReadyCoordActivating = 57;
        See Also:
        Constant Field Values
      • DataCoordNA_VALUE

        public static final int DataCoordNA_VALUE
        Deprecated.
         Service availability.
         NA: Not Available.
         
        DataCoordNA = 100;
        See Also:
        Constant Field Values
      • DDRequestRace_VALUE

        public static final int DDRequestRace_VALUE
        Deprecated.
         internal error code.
         
        DDRequestRace = 1000;
        See Also:
        Constant Field Values
    • Method Detail

      • values

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

        public static ErrorCode valueOf​(String name)
        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:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getNumber

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

        @Deprecated
        public static ErrorCode 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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • forNumber

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

        public static com.google.protobuf.Internal.EnumLiteMap<ErrorCode> internalGetValueMap()
        Deprecated.
      • getValueDescriptor

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

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

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

        public static ErrorCode valueOf​(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
        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:
        desc - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null