Enum ErrorCode

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

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

      • Success

        public static final ErrorCode Success
        Success = 0;
      • UnexpectedError

        public static final ErrorCode UnexpectedError
        UnexpectedError = 1;
      • ConnectFailed

        public static final ErrorCode ConnectFailed
        ConnectFailed = 2;
      • PermissionDenied

        public static final ErrorCode PermissionDenied
        PermissionDenied = 3;
      • CollectionNotExists

        public static final ErrorCode CollectionNotExists
        CollectionNotExists = 4;
      • IllegalArgument

        public static final ErrorCode IllegalArgument
        IllegalArgument = 5;
      • IllegalDimension

        public static final ErrorCode IllegalDimension
        IllegalDimension = 7;
      • IllegalIndexType

        public static final ErrorCode IllegalIndexType
        IllegalIndexType = 8;
      • IllegalCollectionName

        public static final ErrorCode IllegalCollectionName
        IllegalCollectionName = 9;
      • IllegalTOPK

        public static final ErrorCode IllegalTOPK
        IllegalTOPK = 10;
      • IllegalRowRecord

        public static final ErrorCode IllegalRowRecord
        IllegalRowRecord = 11;
      • IllegalVectorID

        public static final ErrorCode IllegalVectorID
        IllegalVectorID = 12;
      • IllegalSearchResult

        public static final ErrorCode IllegalSearchResult
        IllegalSearchResult = 13;
      • FileNotFound

        public static final ErrorCode FileNotFound
        FileNotFound = 14;
      • MetaFailed

        public static final ErrorCode MetaFailed
        MetaFailed = 15;
      • CacheFailed

        public static final ErrorCode CacheFailed
        CacheFailed = 16;
      • CannotCreateFolder

        public static final ErrorCode CannotCreateFolder
        CannotCreateFolder = 17;
      • CannotCreateFile

        public static final ErrorCode CannotCreateFile
        CannotCreateFile = 18;
      • CannotDeleteFolder

        public static final ErrorCode CannotDeleteFolder
        CannotDeleteFolder = 19;
      • CannotDeleteFile

        public static final ErrorCode CannotDeleteFile
        CannotDeleteFile = 20;
      • BuildIndexError

        public static final ErrorCode BuildIndexError
        BuildIndexError = 21;
      • IllegalNLIST

        public static final ErrorCode IllegalNLIST
        IllegalNLIST = 22;
      • IllegalMetricType

        public static final ErrorCode IllegalMetricType
        IllegalMetricType = 23;
      • OutOfMemory

        public static final ErrorCode OutOfMemory
        OutOfMemory = 24;
      • IndexNotExist

        public static final ErrorCode IndexNotExist
        IndexNotExist = 25;
      • EmptyCollection

        public static final ErrorCode EmptyCollection
        EmptyCollection = 26;
      • UpdateImportTaskFailure

        public static final ErrorCode UpdateImportTaskFailure
        UpdateImportTaskFailure = 27;
      • CollectionNameNotFound

        public static final ErrorCode CollectionNameNotFound
        CollectionNameNotFound = 28;
      • CreateCredentialFailure

        public static final ErrorCode CreateCredentialFailure
        CreateCredentialFailure = 29;
      • UpdateCredentialFailure

        public static final ErrorCode UpdateCredentialFailure
        UpdateCredentialFailure = 30;
      • DeleteCredentialFailure

        public static final ErrorCode DeleteCredentialFailure
        DeleteCredentialFailure = 31;
      • GetCredentialFailure

        public static final ErrorCode GetCredentialFailure
        GetCredentialFailure = 32;
      • ListCredUsersFailure

        public static final ErrorCode ListCredUsersFailure
        ListCredUsersFailure = 33;
      • GetUserFailure

        public static final ErrorCode GetUserFailure
        GetUserFailure = 34;
      • CreateRoleFailure

        public static final ErrorCode CreateRoleFailure
        CreateRoleFailure = 35;
      • DropRoleFailure

        public static final ErrorCode DropRoleFailure
        DropRoleFailure = 36;
      • OperateUserRoleFailure

        public static final ErrorCode OperateUserRoleFailure
        OperateUserRoleFailure = 37;
      • SelectRoleFailure

        public static final ErrorCode SelectRoleFailure
        SelectRoleFailure = 38;
      • SelectUserFailure

        public static final ErrorCode SelectUserFailure
        SelectUserFailure = 39;
      • SelectResourceFailure

        public static final ErrorCode SelectResourceFailure
        SelectResourceFailure = 40;
      • OperatePrivilegeFailure

        public static final ErrorCode OperatePrivilegeFailure
        OperatePrivilegeFailure = 41;
      • SelectGrantFailure

        public static final ErrorCode SelectGrantFailure
        SelectGrantFailure = 42;
      • RefreshPolicyInfoCacheFailure

        public static final ErrorCode RefreshPolicyInfoCacheFailure
        RefreshPolicyInfoCacheFailure = 43;
      • ListPolicyFailure

        public static final ErrorCode ListPolicyFailure
        ListPolicyFailure = 44;
      • NotShardLeader

        public static final ErrorCode NotShardLeader
        NotShardLeader = 45;
      • NoReplicaAvailable

        public static final ErrorCode NoReplicaAvailable
        NoReplicaAvailable = 46;
      • SegmentNotFound

        public static final ErrorCode SegmentNotFound
        SegmentNotFound = 47;
      • ForceDeny

        public static final ErrorCode ForceDeny
        ForceDeny = 48;
      • RateLimit

        public static final ErrorCode RateLimit
        RateLimit = 49;
      • NodeIDNotMatch

        public static final ErrorCode NodeIDNotMatch
        NodeIDNotMatch = 50;
      • UpsertAutoIDTrue

        public static final ErrorCode UpsertAutoIDTrue
        UpsertAutoIDTrue = 51;
      • InsufficientMemoryToLoad

        public static final ErrorCode InsufficientMemoryToLoad
        InsufficientMemoryToLoad = 52;
      • MemoryQuotaExhausted

        public static final ErrorCode MemoryQuotaExhausted
        MemoryQuotaExhausted = 53;
      • DiskQuotaExhausted

        public static final ErrorCode DiskQuotaExhausted
        DiskQuotaExhausted = 54;
      • TimeTickLongDelay

        public static final ErrorCode TimeTickLongDelay
        TimeTickLongDelay = 55;
      • NotReadyServe

        public static final ErrorCode NotReadyServe
        NotReadyServe = 56;
      • NotReadyCoordActivating

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

        public static final ErrorCode NotFoundTSafer
        NotFoundTSafer = 58;
      • DataCoordNA

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

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

        public static final ErrorCode UNRECOGNIZED
    • Field Detail

      • UnexpectedError_VALUE

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public static final int NotFoundTSafer_VALUE
        NotFoundTSafer = 58;
        See Also:
        Constant Field Values
      • DataCoordNA_VALUE

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

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

      • values

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