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 enumcommon.ErrorCode
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BuildIndexErrorBuildIndexError = 21;CacheFailedCacheFailed = 16;CannotCreateFileCannotCreateFile = 18;CannotCreateFolderCannotCreateFolder = 17;CannotDeleteFileCannotDeleteFile = 20;CannotDeleteFolderCannotDeleteFolder = 19;CollectionNotExistsCollectionNotExists = 4;ConnectFailedConnectFailed = 2;DDRequestRaceinternal error code.EmptyCollectionEmptyCollection = 26;FileNotFoundFileNotFound = 14;IllegalArgumentIllegalArgument = 5;IllegalCollectionNameIllegalCollectionName = 9;IllegalDimensionIllegalDimension = 7;IllegalIndexTypeIllegalIndexType = 8;IllegalMetricTypeIllegalMetricType = 23;IllegalNLISTIllegalNLIST = 22;IllegalRowRecordIllegalRowRecord = 11;IllegalSearchResultIllegalSearchResult = 13;IllegalTOPKIllegalTOPK = 10;IllegalVectorIDIllegalVectorID = 12;IndexNotExistIndexNotExist = 25;MetaFailedMetaFailed = 15;OutOfMemoryOutOfMemory = 24;PermissionDeniedPermissionDenied = 3;SuccessSuccess = 0;UnexpectedErrorUnexpectedError = 1;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intBuildIndexError_VALUEBuildIndexError = 21;static intCacheFailed_VALUECacheFailed = 16;static intCannotCreateFile_VALUECannotCreateFile = 18;static intCannotCreateFolder_VALUECannotCreateFolder = 17;static intCannotDeleteFile_VALUECannotDeleteFile = 20;static intCannotDeleteFolder_VALUECannotDeleteFolder = 19;static intCollectionNotExists_VALUECollectionNotExists = 4;static intConnectFailed_VALUEConnectFailed = 2;static intDDRequestRace_VALUEinternal error code.static intEmptyCollection_VALUEEmptyCollection = 26;static intFileNotFound_VALUEFileNotFound = 14;static intIllegalArgument_VALUEIllegalArgument = 5;static intIllegalCollectionName_VALUEIllegalCollectionName = 9;static intIllegalDimension_VALUEIllegalDimension = 7;static intIllegalIndexType_VALUEIllegalIndexType = 8;static intIllegalMetricType_VALUEIllegalMetricType = 23;static intIllegalNLIST_VALUEIllegalNLIST = 22;static intIllegalRowRecord_VALUEIllegalRowRecord = 11;static intIllegalSearchResult_VALUEIllegalSearchResult = 13;static intIllegalTOPK_VALUEIllegalTOPK = 10;static intIllegalVectorID_VALUEIllegalVectorID = 12;static intIndexNotExist_VALUEIndexNotExist = 25;static intMetaFailed_VALUEMetaFailed = 15;static intOutOfMemory_VALUEOutOfMemory = 24;static intPermissionDenied_VALUEPermissionDenied = 3;static intSuccess_VALUESuccess = 0;static intUnexpectedError_VALUEUnexpectedError = 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;
-
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;
-
DDRequestRace
public static final ErrorCode DDRequestRace
internal error code.
DDRequestRace = 1000;
-
UNRECOGNIZED
public static final ErrorCode UNRECOGNIZED
-
-
Field Detail
-
Success_VALUE
public static final int Success_VALUE
Success = 0;- See Also:
- Constant Field Values
-
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
-
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 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
-
-