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.grpc.ErrorCode
    • Enum Constant Detail

      • SUCCESS

        public static final ErrorCode SUCCESS
        SUCCESS = 0;
      • UNEXPECTED_ERROR

        public static final ErrorCode UNEXPECTED_ERROR
        UNEXPECTED_ERROR = 1;
      • CONNECT_FAILED

        public static final ErrorCode CONNECT_FAILED
        CONNECT_FAILED = 2;
      • PERMISSION_DENIED

        public static final ErrorCode PERMISSION_DENIED
        PERMISSION_DENIED = 3;
      • COLLECTION_NOT_EXISTS

        public static final ErrorCode COLLECTION_NOT_EXISTS
        COLLECTION_NOT_EXISTS = 4;
      • ILLEGAL_ARGUMENT

        public static final ErrorCode ILLEGAL_ARGUMENT
        ILLEGAL_ARGUMENT = 5;
      • ILLEGAL_DIMENSION

        public static final ErrorCode ILLEGAL_DIMENSION
        ILLEGAL_DIMENSION = 7;
      • ILLEGAL_INDEX_TYPE

        public static final ErrorCode ILLEGAL_INDEX_TYPE
        ILLEGAL_INDEX_TYPE = 8;
      • ILLEGAL_COLLECTION_NAME

        public static final ErrorCode ILLEGAL_COLLECTION_NAME
        ILLEGAL_COLLECTION_NAME = 9;
      • ILLEGAL_TOPK

        public static final ErrorCode ILLEGAL_TOPK
        ILLEGAL_TOPK = 10;
      • ILLEGAL_ROWRECORD

        public static final ErrorCode ILLEGAL_ROWRECORD
        ILLEGAL_ROWRECORD = 11;
      • ILLEGAL_VECTOR_ID

        public static final ErrorCode ILLEGAL_VECTOR_ID
        ILLEGAL_VECTOR_ID = 12;
      • ILLEGAL_SEARCH_RESULT

        public static final ErrorCode ILLEGAL_SEARCH_RESULT
        ILLEGAL_SEARCH_RESULT = 13;
      • FILE_NOT_FOUND

        public static final ErrorCode FILE_NOT_FOUND
        FILE_NOT_FOUND = 14;
      • META_FAILED

        public static final ErrorCode META_FAILED
        META_FAILED = 15;
      • CACHE_FAILED

        public static final ErrorCode CACHE_FAILED
        CACHE_FAILED = 16;
      • CANNOT_CREATE_FOLDER

        public static final ErrorCode CANNOT_CREATE_FOLDER
        CANNOT_CREATE_FOLDER = 17;
      • CANNOT_CREATE_FILE

        public static final ErrorCode CANNOT_CREATE_FILE
        CANNOT_CREATE_FILE = 18;
      • CANNOT_DELETE_FOLDER

        public static final ErrorCode CANNOT_DELETE_FOLDER
        CANNOT_DELETE_FOLDER = 19;
      • CANNOT_DELETE_FILE

        public static final ErrorCode CANNOT_DELETE_FILE
        CANNOT_DELETE_FILE = 20;
      • BUILD_INDEX_ERROR

        public static final ErrorCode BUILD_INDEX_ERROR
        BUILD_INDEX_ERROR = 21;
      • ILLEGAL_NLIST

        public static final ErrorCode ILLEGAL_NLIST
        ILLEGAL_NLIST = 22;
      • ILLEGAL_METRIC_TYPE

        public static final ErrorCode ILLEGAL_METRIC_TYPE
        ILLEGAL_METRIC_TYPE = 23;
      • OUT_OF_MEMORY

        public static final ErrorCode OUT_OF_MEMORY
        OUT_OF_MEMORY = 24;
      • UNRECOGNIZED

        public static final ErrorCode UNRECOGNIZED
    • Field Detail

      • UNEXPECTED_ERROR_VALUE

        public static final int UNEXPECTED_ERROR_VALUE
        UNEXPECTED_ERROR = 1;
        See Also:
        Constant Field Values
      • CONNECT_FAILED_VALUE

        public static final int CONNECT_FAILED_VALUE
        CONNECT_FAILED = 2;
        See Also:
        Constant Field Values
      • PERMISSION_DENIED_VALUE

        public static final int PERMISSION_DENIED_VALUE
        PERMISSION_DENIED = 3;
        See Also:
        Constant Field Values
      • COLLECTION_NOT_EXISTS_VALUE

        public static final int COLLECTION_NOT_EXISTS_VALUE
        COLLECTION_NOT_EXISTS = 4;
        See Also:
        Constant Field Values
      • ILLEGAL_ARGUMENT_VALUE

        public static final int ILLEGAL_ARGUMENT_VALUE
        ILLEGAL_ARGUMENT = 5;
        See Also:
        Constant Field Values
      • ILLEGAL_DIMENSION_VALUE

        public static final int ILLEGAL_DIMENSION_VALUE
        ILLEGAL_DIMENSION = 7;
        See Also:
        Constant Field Values
      • ILLEGAL_INDEX_TYPE_VALUE

        public static final int ILLEGAL_INDEX_TYPE_VALUE
        ILLEGAL_INDEX_TYPE = 8;
        See Also:
        Constant Field Values
      • ILLEGAL_COLLECTION_NAME_VALUE

        public static final int ILLEGAL_COLLECTION_NAME_VALUE
        ILLEGAL_COLLECTION_NAME = 9;
        See Also:
        Constant Field Values
      • ILLEGAL_TOPK_VALUE

        public static final int ILLEGAL_TOPK_VALUE
        ILLEGAL_TOPK = 10;
        See Also:
        Constant Field Values
      • ILLEGAL_ROWRECORD_VALUE

        public static final int ILLEGAL_ROWRECORD_VALUE
        ILLEGAL_ROWRECORD = 11;
        See Also:
        Constant Field Values
      • ILLEGAL_VECTOR_ID_VALUE

        public static final int ILLEGAL_VECTOR_ID_VALUE
        ILLEGAL_VECTOR_ID = 12;
        See Also:
        Constant Field Values
      • ILLEGAL_SEARCH_RESULT_VALUE

        public static final int ILLEGAL_SEARCH_RESULT_VALUE
        ILLEGAL_SEARCH_RESULT = 13;
        See Also:
        Constant Field Values
      • FILE_NOT_FOUND_VALUE

        public static final int FILE_NOT_FOUND_VALUE
        FILE_NOT_FOUND = 14;
        See Also:
        Constant Field Values
      • META_FAILED_VALUE

        public static final int META_FAILED_VALUE
        META_FAILED = 15;
        See Also:
        Constant Field Values
      • CACHE_FAILED_VALUE

        public static final int CACHE_FAILED_VALUE
        CACHE_FAILED = 16;
        See Also:
        Constant Field Values
      • CANNOT_CREATE_FOLDER_VALUE

        public static final int CANNOT_CREATE_FOLDER_VALUE
        CANNOT_CREATE_FOLDER = 17;
        See Also:
        Constant Field Values
      • CANNOT_CREATE_FILE_VALUE

        public static final int CANNOT_CREATE_FILE_VALUE
        CANNOT_CREATE_FILE = 18;
        See Also:
        Constant Field Values
      • CANNOT_DELETE_FOLDER_VALUE

        public static final int CANNOT_DELETE_FOLDER_VALUE
        CANNOT_DELETE_FOLDER = 19;
        See Also:
        Constant Field Values
      • CANNOT_DELETE_FILE_VALUE

        public static final int CANNOT_DELETE_FILE_VALUE
        CANNOT_DELETE_FILE = 20;
        See Also:
        Constant Field Values
      • BUILD_INDEX_ERROR_VALUE

        public static final int BUILD_INDEX_ERROR_VALUE
        BUILD_INDEX_ERROR = 21;
        See Also:
        Constant Field Values
      • ILLEGAL_NLIST_VALUE

        public static final int ILLEGAL_NLIST_VALUE
        ILLEGAL_NLIST = 22;
        See Also:
        Constant Field Values
      • ILLEGAL_METRIC_TYPE_VALUE

        public static final int ILLEGAL_METRIC_TYPE_VALUE
        ILLEGAL_METRIC_TYPE = 23;
        See Also:
        Constant Field Values
      • OUT_OF_MEMORY_VALUE

        public static final int OUT_OF_MEMORY_VALUE
        OUT_OF_MEMORY = 24;
        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