Package io.milvus.grpc
Enum ErrorCode
- java.lang.Object
-
- java.lang.Enum<ErrorCode>
-
- io.milvus.grpc.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 enummilvus.grpc.ErrorCode
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUILD_INDEX_ERRORBUILD_INDEX_ERROR = 21;CACHE_FAILEDCACHE_FAILED = 16;CANNOT_CREATE_FILECANNOT_CREATE_FILE = 18;CANNOT_CREATE_FOLDERCANNOT_CREATE_FOLDER = 17;CANNOT_DELETE_FILECANNOT_DELETE_FILE = 20;CANNOT_DELETE_FOLDERCANNOT_DELETE_FOLDER = 19;CONNECT_FAILEDCONNECT_FAILED = 2;FILE_NOT_FOUNDFILE_NOT_FOUND = 14;ILLEGAL_ARGUMENTILLEGAL_ARGUMENT = 5;ILLEGAL_DIMENSIONILLEGAL_DIMENSION = 7;ILLEGAL_INDEX_TYPEILLEGAL_INDEX_TYPE = 8;ILLEGAL_METRIC_TYPEILLEGAL_METRIC_TYPE = 23;ILLEGAL_NLISTILLEGAL_NLIST = 22;ILLEGAL_RANGEILLEGAL_RANGE = 6;ILLEGAL_ROWRECORDILLEGAL_ROWRECORD = 11;ILLEGAL_SEARCH_RESULTILLEGAL_SEARCH_RESULT = 13;ILLEGAL_TABLE_NAMEILLEGAL_TABLE_NAME = 9;ILLEGAL_TOPKILLEGAL_TOPK = 10;ILLEGAL_VECTOR_IDILLEGAL_VECTOR_ID = 12;META_FAILEDMETA_FAILED = 15;OUT_OF_MEMORYOUT_OF_MEMORY = 24;PERMISSION_DENIEDPERMISSION_DENIED = 3;SUCCESSSUCCESS = 0;TABLE_NOT_EXISTSTABLE_NOT_EXISTS = 4;UNEXPECTED_ERRORUNEXPECTED_ERROR = 1;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intBUILD_INDEX_ERROR_VALUEBUILD_INDEX_ERROR = 21;static intCACHE_FAILED_VALUECACHE_FAILED = 16;static intCANNOT_CREATE_FILE_VALUECANNOT_CREATE_FILE = 18;static intCANNOT_CREATE_FOLDER_VALUECANNOT_CREATE_FOLDER = 17;static intCANNOT_DELETE_FILE_VALUECANNOT_DELETE_FILE = 20;static intCANNOT_DELETE_FOLDER_VALUECANNOT_DELETE_FOLDER = 19;static intCONNECT_FAILED_VALUECONNECT_FAILED = 2;static intFILE_NOT_FOUND_VALUEFILE_NOT_FOUND = 14;static intILLEGAL_ARGUMENT_VALUEILLEGAL_ARGUMENT = 5;static intILLEGAL_DIMENSION_VALUEILLEGAL_DIMENSION = 7;static intILLEGAL_INDEX_TYPE_VALUEILLEGAL_INDEX_TYPE = 8;static intILLEGAL_METRIC_TYPE_VALUEILLEGAL_METRIC_TYPE = 23;static intILLEGAL_NLIST_VALUEILLEGAL_NLIST = 22;static intILLEGAL_RANGE_VALUEILLEGAL_RANGE = 6;static intILLEGAL_ROWRECORD_VALUEILLEGAL_ROWRECORD = 11;static intILLEGAL_SEARCH_RESULT_VALUEILLEGAL_SEARCH_RESULT = 13;static intILLEGAL_TABLE_NAME_VALUEILLEGAL_TABLE_NAME = 9;static intILLEGAL_TOPK_VALUEILLEGAL_TOPK = 10;static intILLEGAL_VECTOR_ID_VALUEILLEGAL_VECTOR_ID = 12;static intMETA_FAILED_VALUEMETA_FAILED = 15;static intOUT_OF_MEMORY_VALUEOUT_OF_MEMORY = 24;static intPERMISSION_DENIED_VALUEPERMISSION_DENIED = 3;static intSUCCESS_VALUESUCCESS = 0;static intTABLE_NOT_EXISTS_VALUETABLE_NOT_EXISTS = 4;static intUNEXPECTED_ERROR_VALUEUNEXPECTED_ERROR = 1;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ErrorCodeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<ErrorCode>internalGetValueMap()static ErrorCodevalueOf(int value)Deprecated.static ErrorCodevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ErrorCodevalueOf(String name)Returns the enum constant of this type with the specified name.static ErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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;
-
TABLE_NOT_EXISTS
public static final ErrorCode TABLE_NOT_EXISTS
TABLE_NOT_EXISTS = 4;
-
ILLEGAL_ARGUMENT
public static final ErrorCode ILLEGAL_ARGUMENT
ILLEGAL_ARGUMENT = 5;
-
ILLEGAL_RANGE
public static final ErrorCode ILLEGAL_RANGE
ILLEGAL_RANGE = 6;
-
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_TABLE_NAME
public static final ErrorCode ILLEGAL_TABLE_NAME
ILLEGAL_TABLE_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
-
SUCCESS_VALUE
public static final int SUCCESS_VALUE
SUCCESS = 0;- See Also:
- Constant Field Values
-
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
-
TABLE_NOT_EXISTS_VALUE
public static final int TABLE_NOT_EXISTS_VALUE
TABLE_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_RANGE_VALUE
public static final int ILLEGAL_RANGE_VALUE
ILLEGAL_RANGE = 6;- 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_TABLE_NAME_VALUE
public static final int ILLEGAL_TABLE_NAME_VALUE
ILLEGAL_TABLE_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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.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 nameNullPointerException- 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.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 nameNullPointerException- if the argument is null
-
-