Package io.milvus.grpc
Enum ErrorCode
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ErrorCode>,java.lang.constant.Constable
@Deprecated
public enum ErrorCode
extends Enum<ErrorCode>
implements com.google.protobuf.ProtocolMessageEnum
Deprecated.
DeprecatedProtobuf enum
milvus.proto.common.ErrorCode-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.BuildIndexError = 21;Deprecated.CacheFailed = 16;Deprecated.CannotCreateFile = 18;Deprecated.CannotCreateFolder = 17;Deprecated.CannotDeleteFile = 20;Deprecated.CannotDeleteFolder = 19;Deprecated.CollectionNameNotFound = 28;Deprecated.CollectionNotExists = 4;Deprecated.ConnectFailed = 2;Deprecated.CreateCredentialFailure = 29;Deprecated.CreateRoleFailure = 35;Deprecated.Service availability.Deprecated.internal error code.Deprecated.DeleteCredentialFailure = 31;Deprecated.DiskQuotaExhausted = 54;Deprecated.DropRoleFailure = 36;Deprecated.EmptyCollection = 26;Deprecated.FileNotFound = 14;Deprecated.ForceDeny = 48;Deprecated.GetCredentialFailure = 32;Deprecated.GetUserFailure = 34;Deprecated.IllegalArgument = 5;Deprecated.IllegalCollectionName = 9;Deprecated.IllegalDimension = 7;Deprecated.IllegalIndexType = 8;Deprecated.IllegalMetricType = 23;Deprecated.IllegalNLIST = 22;Deprecated.IllegalRowRecord = 11;Deprecated.IllegalSearchResult = 13;Deprecated.IllegalTOPK = 10;Deprecated.IllegalVectorID = 12;Deprecated.IndexNotExist = 25;Deprecated.InsufficientMemoryToLoad = 52;Deprecated.ListCredUsersFailure = 33;Deprecated.ListPolicyFailure = 44;Deprecated.MemoryQuotaExhausted = 53;Deprecated.MetaFailed = 15;Deprecated.NodeIDNotMatch = 50;Deprecated.NoReplicaAvailable = 46;Deprecated.Coord is switching from standby mode to active modeDeprecated.NotReadyServe = 56;Deprecated.NotShardLeader = 45;Deprecated.OperatePrivilegeFailure = 41;Deprecated.OperateUserRoleFailure = 37;Deprecated.OutOfMemory = 24;Deprecated.PermissionDenied = 3;Deprecated.RateLimit = 49;Deprecated.RefreshPolicyInfoCacheFailure = 43;Deprecated.SegmentNotFound = 47;Deprecated.SelectGrantFailure = 42;Deprecated.SelectResourceFailure = 40;Deprecated.SelectRoleFailure = 38;Deprecated.SelectUserFailure = 39;Deprecated.Success = 0;Deprecated.TimeTickLongDelay = 55;Deprecated.UnexpectedError = 1;Deprecated.Deprecated.UpdateCredentialFailure = 30;Deprecated.UpdateImportTaskFailure = 27;Deprecated.UpsertAutoIDTrue = 51; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDeprecated.BuildIndexError = 21;static final intDeprecated.CacheFailed = 16;static final intDeprecated.CannotCreateFile = 18;static final intDeprecated.CannotCreateFolder = 17;static final intDeprecated.CannotDeleteFile = 20;static final intDeprecated.CannotDeleteFolder = 19;static final intDeprecated.CollectionNameNotFound = 28;static final intDeprecated.CollectionNotExists = 4;static final intDeprecated.ConnectFailed = 2;static final intDeprecated.CreateCredentialFailure = 29;static final intDeprecated.CreateRoleFailure = 35;static final intDeprecated.Service availability.static final intDeprecated.internal error code.static final intDeprecated.DeleteCredentialFailure = 31;static final intDeprecated.DiskQuotaExhausted = 54;static final intDeprecated.DropRoleFailure = 36;static final intDeprecated.EmptyCollection = 26;static final intDeprecated.FileNotFound = 14;static final intDeprecated.ForceDeny = 48;static final intDeprecated.GetCredentialFailure = 32;static final intDeprecated.GetUserFailure = 34;static final intDeprecated.IllegalArgument = 5;static final intDeprecated.IllegalCollectionName = 9;static final intDeprecated.IllegalDimension = 7;static final intDeprecated.IllegalIndexType = 8;static final intDeprecated.IllegalMetricType = 23;static final intDeprecated.IllegalNLIST = 22;static final intDeprecated.IllegalRowRecord = 11;static final intDeprecated.IllegalSearchResult = 13;static final intDeprecated.IllegalTOPK = 10;static final intDeprecated.IllegalVectorID = 12;static final intDeprecated.IndexNotExist = 25;static final intDeprecated.InsufficientMemoryToLoad = 52;static final intDeprecated.ListCredUsersFailure = 33;static final intDeprecated.ListPolicyFailure = 44;static final intDeprecated.MemoryQuotaExhausted = 53;static final intDeprecated.MetaFailed = 15;static final intDeprecated.NodeIDNotMatch = 50;static final intDeprecated.NoReplicaAvailable = 46;static final intDeprecated.Coord is switching from standby mode to active modestatic final intDeprecated.NotReadyServe = 56;static final intDeprecated.NotShardLeader = 45;static final intDeprecated.OperatePrivilegeFailure = 41;static final intDeprecated.OperateUserRoleFailure = 37;static final intDeprecated.OutOfMemory = 24;static final intDeprecated.PermissionDenied = 3;static final intDeprecated.RateLimit = 49;static final intDeprecated.RefreshPolicyInfoCacheFailure = 43;static final intDeprecated.SegmentNotFound = 47;static final intDeprecated.SelectGrantFailure = 42;static final intDeprecated.SelectResourceFailure = 40;static final intDeprecated.SelectRoleFailure = 38;static final intDeprecated.SelectUserFailure = 39;static final intDeprecated.Success = 0;static final intDeprecated.TimeTickLongDelay = 55;static final intDeprecated.UnexpectedError = 1;static final intDeprecated.UpdateCredentialFailure = 30;static final intDeprecated.UpdateImportTaskFailure = 27;static final intDeprecated.UpsertAutoIDTrue = 51; -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorCodeforNumber(int value) Deprecated.static final com.google.protobuf.Descriptors.EnumDescriptorDeprecated.final com.google.protobuf.Descriptors.EnumDescriptorDeprecated.final intDeprecated.final com.google.protobuf.Descriptors.EnumValueDescriptorDeprecated.static com.google.protobuf.Internal.EnumLiteMap<ErrorCode> Deprecated.static ErrorCodevalueOf(int value) Deprecated.static ErrorCodevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Deprecated.Returns the enum constant of this type with the specified name.static ErrorCodeDeprecated.Returns the enum constant of this type with the specified name.static ErrorCode[]values()Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Success
Deprecated.Success = 0; -
UnexpectedError
Deprecated.UnexpectedError = 1; -
ConnectFailed
Deprecated.ConnectFailed = 2; -
PermissionDenied
Deprecated.PermissionDenied = 3; -
CollectionNotExists
Deprecated.CollectionNotExists = 4; -
IllegalArgument
Deprecated.IllegalArgument = 5; -
IllegalDimension
Deprecated.IllegalDimension = 7; -
IllegalIndexType
Deprecated.IllegalIndexType = 8; -
IllegalCollectionName
Deprecated.IllegalCollectionName = 9; -
IllegalTOPK
Deprecated.IllegalTOPK = 10; -
IllegalRowRecord
Deprecated.IllegalRowRecord = 11; -
IllegalVectorID
Deprecated.IllegalVectorID = 12; -
IllegalSearchResult
Deprecated.IllegalSearchResult = 13; -
FileNotFound
Deprecated.FileNotFound = 14; -
MetaFailed
Deprecated.MetaFailed = 15; -
CacheFailed
Deprecated.CacheFailed = 16; -
CannotCreateFolder
Deprecated.CannotCreateFolder = 17; -
CannotCreateFile
Deprecated.CannotCreateFile = 18; -
CannotDeleteFolder
Deprecated.CannotDeleteFolder = 19; -
CannotDeleteFile
Deprecated.CannotDeleteFile = 20; -
BuildIndexError
Deprecated.BuildIndexError = 21; -
IllegalNLIST
Deprecated.IllegalNLIST = 22; -
IllegalMetricType
Deprecated.IllegalMetricType = 23; -
OutOfMemory
Deprecated.OutOfMemory = 24; -
IndexNotExist
Deprecated.IndexNotExist = 25; -
EmptyCollection
Deprecated.EmptyCollection = 26; -
UpdateImportTaskFailure
Deprecated.UpdateImportTaskFailure = 27; -
CollectionNameNotFound
Deprecated.CollectionNameNotFound = 28; -
CreateCredentialFailure
Deprecated.CreateCredentialFailure = 29; -
UpdateCredentialFailure
Deprecated.UpdateCredentialFailure = 30; -
DeleteCredentialFailure
Deprecated.DeleteCredentialFailure = 31; -
GetCredentialFailure
Deprecated.GetCredentialFailure = 32; -
ListCredUsersFailure
Deprecated.ListCredUsersFailure = 33; -
GetUserFailure
Deprecated.GetUserFailure = 34; -
CreateRoleFailure
Deprecated.CreateRoleFailure = 35; -
DropRoleFailure
Deprecated.DropRoleFailure = 36; -
OperateUserRoleFailure
Deprecated.OperateUserRoleFailure = 37; -
SelectRoleFailure
Deprecated.SelectRoleFailure = 38; -
SelectUserFailure
Deprecated.SelectUserFailure = 39; -
SelectResourceFailure
Deprecated.SelectResourceFailure = 40; -
OperatePrivilegeFailure
Deprecated.OperatePrivilegeFailure = 41; -
SelectGrantFailure
Deprecated.SelectGrantFailure = 42; -
RefreshPolicyInfoCacheFailure
Deprecated.RefreshPolicyInfoCacheFailure = 43; -
ListPolicyFailure
Deprecated.ListPolicyFailure = 44; -
NotShardLeader
Deprecated.NotShardLeader = 45; -
NoReplicaAvailable
Deprecated.NoReplicaAvailable = 46; -
SegmentNotFound
Deprecated.SegmentNotFound = 47; -
ForceDeny
Deprecated.ForceDeny = 48; -
RateLimit
Deprecated.RateLimit = 49; -
NodeIDNotMatch
Deprecated.NodeIDNotMatch = 50; -
UpsertAutoIDTrue
Deprecated.UpsertAutoIDTrue = 51; -
InsufficientMemoryToLoad
Deprecated.InsufficientMemoryToLoad = 52; -
MemoryQuotaExhausted
Deprecated.MemoryQuotaExhausted = 53; -
DiskQuotaExhausted
Deprecated.DiskQuotaExhausted = 54; -
TimeTickLongDelay
Deprecated.TimeTickLongDelay = 55; -
NotReadyServe
Deprecated.NotReadyServe = 56; -
NotReadyCoordActivating
Deprecated.Coord is switching from standby mode to active mode
NotReadyCoordActivating = 57; -
DataCoordNA
Deprecated.Service availability. NA: Not Available.
DataCoordNA = 100; -
DDRequestRace
Deprecated.internal error code.
DDRequestRace = 1000; -
UNRECOGNIZED
Deprecated.
-
-
Field Details
-
Success_VALUE
public static final int Success_VALUEDeprecated.Success = 0;- See Also:
-
UnexpectedError_VALUE
public static final int UnexpectedError_VALUEDeprecated.UnexpectedError = 1;- See Also:
-
ConnectFailed_VALUE
public static final int ConnectFailed_VALUEDeprecated.ConnectFailed = 2;- See Also:
-
PermissionDenied_VALUE
public static final int PermissionDenied_VALUEDeprecated.PermissionDenied = 3;- See Also:
-
CollectionNotExists_VALUE
public static final int CollectionNotExists_VALUEDeprecated.CollectionNotExists = 4;- See Also:
-
IllegalArgument_VALUE
public static final int IllegalArgument_VALUEDeprecated.IllegalArgument = 5;- See Also:
-
IllegalDimension_VALUE
public static final int IllegalDimension_VALUEDeprecated.IllegalDimension = 7;- See Also:
-
IllegalIndexType_VALUE
public static final int IllegalIndexType_VALUEDeprecated.IllegalIndexType = 8;- See Also:
-
IllegalCollectionName_VALUE
public static final int IllegalCollectionName_VALUEDeprecated.IllegalCollectionName = 9;- See Also:
-
IllegalTOPK_VALUE
public static final int IllegalTOPK_VALUEDeprecated.IllegalTOPK = 10;- See Also:
-
IllegalRowRecord_VALUE
public static final int IllegalRowRecord_VALUEDeprecated.IllegalRowRecord = 11;- See Also:
-
IllegalVectorID_VALUE
public static final int IllegalVectorID_VALUEDeprecated.IllegalVectorID = 12;- See Also:
-
IllegalSearchResult_VALUE
public static final int IllegalSearchResult_VALUEDeprecated.IllegalSearchResult = 13;- See Also:
-
FileNotFound_VALUE
public static final int FileNotFound_VALUEDeprecated.FileNotFound = 14;- See Also:
-
MetaFailed_VALUE
public static final int MetaFailed_VALUEDeprecated.MetaFailed = 15;- See Also:
-
CacheFailed_VALUE
public static final int CacheFailed_VALUEDeprecated.CacheFailed = 16;- See Also:
-
CannotCreateFolder_VALUE
public static final int CannotCreateFolder_VALUEDeprecated.CannotCreateFolder = 17;- See Also:
-
CannotCreateFile_VALUE
public static final int CannotCreateFile_VALUEDeprecated.CannotCreateFile = 18;- See Also:
-
CannotDeleteFolder_VALUE
public static final int CannotDeleteFolder_VALUEDeprecated.CannotDeleteFolder = 19;- See Also:
-
CannotDeleteFile_VALUE
public static final int CannotDeleteFile_VALUEDeprecated.CannotDeleteFile = 20;- See Also:
-
BuildIndexError_VALUE
public static final int BuildIndexError_VALUEDeprecated.BuildIndexError = 21;- See Also:
-
IllegalNLIST_VALUE
public static final int IllegalNLIST_VALUEDeprecated.IllegalNLIST = 22;- See Also:
-
IllegalMetricType_VALUE
public static final int IllegalMetricType_VALUEDeprecated.IllegalMetricType = 23;- See Also:
-
OutOfMemory_VALUE
public static final int OutOfMemory_VALUEDeprecated.OutOfMemory = 24;- See Also:
-
IndexNotExist_VALUE
public static final int IndexNotExist_VALUEDeprecated.IndexNotExist = 25;- See Also:
-
EmptyCollection_VALUE
public static final int EmptyCollection_VALUEDeprecated.EmptyCollection = 26;- See Also:
-
UpdateImportTaskFailure_VALUE
public static final int UpdateImportTaskFailure_VALUEDeprecated.UpdateImportTaskFailure = 27;- See Also:
-
CollectionNameNotFound_VALUE
public static final int CollectionNameNotFound_VALUEDeprecated.CollectionNameNotFound = 28;- See Also:
-
CreateCredentialFailure_VALUE
public static final int CreateCredentialFailure_VALUEDeprecated.CreateCredentialFailure = 29;- See Also:
-
UpdateCredentialFailure_VALUE
public static final int UpdateCredentialFailure_VALUEDeprecated.UpdateCredentialFailure = 30;- See Also:
-
DeleteCredentialFailure_VALUE
public static final int DeleteCredentialFailure_VALUEDeprecated.DeleteCredentialFailure = 31;- See Also:
-
GetCredentialFailure_VALUE
public static final int GetCredentialFailure_VALUEDeprecated.GetCredentialFailure = 32;- See Also:
-
ListCredUsersFailure_VALUE
public static final int ListCredUsersFailure_VALUEDeprecated.ListCredUsersFailure = 33;- See Also:
-
GetUserFailure_VALUE
public static final int GetUserFailure_VALUEDeprecated.GetUserFailure = 34;- See Also:
-
CreateRoleFailure_VALUE
public static final int CreateRoleFailure_VALUEDeprecated.CreateRoleFailure = 35;- See Also:
-
DropRoleFailure_VALUE
public static final int DropRoleFailure_VALUEDeprecated.DropRoleFailure = 36;- See Also:
-
OperateUserRoleFailure_VALUE
public static final int OperateUserRoleFailure_VALUEDeprecated.OperateUserRoleFailure = 37;- See Also:
-
SelectRoleFailure_VALUE
public static final int SelectRoleFailure_VALUEDeprecated.SelectRoleFailure = 38;- See Also:
-
SelectUserFailure_VALUE
public static final int SelectUserFailure_VALUEDeprecated.SelectUserFailure = 39;- See Also:
-
SelectResourceFailure_VALUE
public static final int SelectResourceFailure_VALUEDeprecated.SelectResourceFailure = 40;- See Also:
-
OperatePrivilegeFailure_VALUE
public static final int OperatePrivilegeFailure_VALUEDeprecated.OperatePrivilegeFailure = 41;- See Also:
-
SelectGrantFailure_VALUE
public static final int SelectGrantFailure_VALUEDeprecated.SelectGrantFailure = 42;- See Also:
-
RefreshPolicyInfoCacheFailure_VALUE
public static final int RefreshPolicyInfoCacheFailure_VALUEDeprecated.RefreshPolicyInfoCacheFailure = 43;- See Also:
-
ListPolicyFailure_VALUE
public static final int ListPolicyFailure_VALUEDeprecated.ListPolicyFailure = 44;- See Also:
-
NotShardLeader_VALUE
public static final int NotShardLeader_VALUEDeprecated.NotShardLeader = 45;- See Also:
-
NoReplicaAvailable_VALUE
public static final int NoReplicaAvailable_VALUEDeprecated.NoReplicaAvailable = 46;- See Also:
-
SegmentNotFound_VALUE
public static final int SegmentNotFound_VALUEDeprecated.SegmentNotFound = 47;- See Also:
-
ForceDeny_VALUE
public static final int ForceDeny_VALUEDeprecated.ForceDeny = 48;- See Also:
-
RateLimit_VALUE
public static final int RateLimit_VALUEDeprecated.RateLimit = 49;- See Also:
-
NodeIDNotMatch_VALUE
public static final int NodeIDNotMatch_VALUEDeprecated.NodeIDNotMatch = 50;- See Also:
-
UpsertAutoIDTrue_VALUE
public static final int UpsertAutoIDTrue_VALUEDeprecated.UpsertAutoIDTrue = 51;- See Also:
-
InsufficientMemoryToLoad_VALUE
public static final int InsufficientMemoryToLoad_VALUEDeprecated.InsufficientMemoryToLoad = 52;- See Also:
-
MemoryQuotaExhausted_VALUE
public static final int MemoryQuotaExhausted_VALUEDeprecated.MemoryQuotaExhausted = 53;- See Also:
-
DiskQuotaExhausted_VALUE
public static final int DiskQuotaExhausted_VALUEDeprecated.DiskQuotaExhausted = 54;- See Also:
-
TimeTickLongDelay_VALUE
public static final int TimeTickLongDelay_VALUEDeprecated.TimeTickLongDelay = 55;- See Also:
-
NotReadyServe_VALUE
public static final int NotReadyServe_VALUEDeprecated.NotReadyServe = 56;- See Also:
-
NotReadyCoordActivating_VALUE
public static final int NotReadyCoordActivating_VALUEDeprecated.Coord is switching from standby mode to active mode
NotReadyCoordActivating = 57;- See Also:
-
DataCoordNA_VALUE
public static final int DataCoordNA_VALUEDeprecated.Service availability. NA: Not Available.
DataCoordNA = 100;- See Also:
-
DDRequestRace_VALUE
public static final int DDRequestRace_VALUEDeprecated.internal error code.
DDRequestRace = 1000;- See Also:
-
-
Method Details
-
values
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()Deprecated.- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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
Deprecated.- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
Deprecated. -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()Deprecated.- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()Deprecated.- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()Deprecated. -
valueOf
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 nameNullPointerException- if the argument is null
-