All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.milvus.grpc.ErrorCode Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: common.proto

package io.milvus.grpc;

/**
 * 
 * Deprecated
 * 
* * Protobuf enum {@code milvus.proto.common.ErrorCode} */ @java.lang.Deprecated public enum ErrorCode implements com.google.protobuf.ProtocolMessageEnum { /** * Success = 0; */ Success(0), /** * UnexpectedError = 1; */ UnexpectedError(1), /** * ConnectFailed = 2; */ ConnectFailed(2), /** * PermissionDenied = 3; */ PermissionDenied(3), /** * CollectionNotExists = 4; */ CollectionNotExists(4), /** * IllegalArgument = 5; */ IllegalArgument(5), /** * IllegalDimension = 7; */ IllegalDimension(7), /** * IllegalIndexType = 8; */ IllegalIndexType(8), /** * IllegalCollectionName = 9; */ IllegalCollectionName(9), /** * IllegalTOPK = 10; */ IllegalTOPK(10), /** * IllegalRowRecord = 11; */ IllegalRowRecord(11), /** * IllegalVectorID = 12; */ IllegalVectorID(12), /** * IllegalSearchResult = 13; */ IllegalSearchResult(13), /** * FileNotFound = 14; */ FileNotFound(14), /** * MetaFailed = 15; */ MetaFailed(15), /** * CacheFailed = 16; */ CacheFailed(16), /** * CannotCreateFolder = 17; */ CannotCreateFolder(17), /** * CannotCreateFile = 18; */ CannotCreateFile(18), /** * CannotDeleteFolder = 19; */ CannotDeleteFolder(19), /** * CannotDeleteFile = 20; */ CannotDeleteFile(20), /** * BuildIndexError = 21; */ BuildIndexError(21), /** * IllegalNLIST = 22; */ IllegalNLIST(22), /** * IllegalMetricType = 23; */ IllegalMetricType(23), /** * OutOfMemory = 24; */ OutOfMemory(24), /** * IndexNotExist = 25; */ IndexNotExist(25), /** * EmptyCollection = 26; */ EmptyCollection(26), /** * UpdateImportTaskFailure = 27; */ UpdateImportTaskFailure(27), /** * CollectionNameNotFound = 28; */ CollectionNameNotFound(28), /** * CreateCredentialFailure = 29; */ CreateCredentialFailure(29), /** * UpdateCredentialFailure = 30; */ UpdateCredentialFailure(30), /** * DeleteCredentialFailure = 31; */ DeleteCredentialFailure(31), /** * GetCredentialFailure = 32; */ GetCredentialFailure(32), /** * ListCredUsersFailure = 33; */ ListCredUsersFailure(33), /** * GetUserFailure = 34; */ GetUserFailure(34), /** * CreateRoleFailure = 35; */ CreateRoleFailure(35), /** * DropRoleFailure = 36; */ DropRoleFailure(36), /** * OperateUserRoleFailure = 37; */ OperateUserRoleFailure(37), /** * SelectRoleFailure = 38; */ SelectRoleFailure(38), /** * SelectUserFailure = 39; */ SelectUserFailure(39), /** * SelectResourceFailure = 40; */ SelectResourceFailure(40), /** * OperatePrivilegeFailure = 41; */ OperatePrivilegeFailure(41), /** * SelectGrantFailure = 42; */ SelectGrantFailure(42), /** * RefreshPolicyInfoCacheFailure = 43; */ RefreshPolicyInfoCacheFailure(43), /** * ListPolicyFailure = 44; */ ListPolicyFailure(44), /** * NotShardLeader = 45; */ NotShardLeader(45), /** * NoReplicaAvailable = 46; */ NoReplicaAvailable(46), /** * SegmentNotFound = 47; */ SegmentNotFound(47), /** * ForceDeny = 48; */ ForceDeny(48), /** * RateLimit = 49; */ RateLimit(49), /** * NodeIDNotMatch = 50; */ NodeIDNotMatch(50), /** * UpsertAutoIDTrue = 51; */ UpsertAutoIDTrue(51), /** * InsufficientMemoryToLoad = 52; */ InsufficientMemoryToLoad(52), /** * MemoryQuotaExhausted = 53; */ MemoryQuotaExhausted(53), /** * DiskQuotaExhausted = 54; */ DiskQuotaExhausted(54), /** * TimeTickLongDelay = 55; */ TimeTickLongDelay(55), /** * NotReadyServe = 56; */ NotReadyServe(56), /** *
   * Coord is switching from standby mode to active mode
   * 
* * NotReadyCoordActivating = 57; */ NotReadyCoordActivating(57), /** *
   * Service availability.
   * NA: Not Available.
   * 
* * DataCoordNA = 100; */ DataCoordNA(100), /** *
   * internal error code.
   * 
* * DDRequestRace = 1000; */ DDRequestRace(1000), UNRECOGNIZED(-1), ; /** * Success = 0; */ public static final int Success_VALUE = 0; /** * UnexpectedError = 1; */ public static final int UnexpectedError_VALUE = 1; /** * ConnectFailed = 2; */ public static final int ConnectFailed_VALUE = 2; /** * PermissionDenied = 3; */ public static final int PermissionDenied_VALUE = 3; /** * CollectionNotExists = 4; */ public static final int CollectionNotExists_VALUE = 4; /** * IllegalArgument = 5; */ public static final int IllegalArgument_VALUE = 5; /** * IllegalDimension = 7; */ public static final int IllegalDimension_VALUE = 7; /** * IllegalIndexType = 8; */ public static final int IllegalIndexType_VALUE = 8; /** * IllegalCollectionName = 9; */ public static final int IllegalCollectionName_VALUE = 9; /** * IllegalTOPK = 10; */ public static final int IllegalTOPK_VALUE = 10; /** * IllegalRowRecord = 11; */ public static final int IllegalRowRecord_VALUE = 11; /** * IllegalVectorID = 12; */ public static final int IllegalVectorID_VALUE = 12; /** * IllegalSearchResult = 13; */ public static final int IllegalSearchResult_VALUE = 13; /** * FileNotFound = 14; */ public static final int FileNotFound_VALUE = 14; /** * MetaFailed = 15; */ public static final int MetaFailed_VALUE = 15; /** * CacheFailed = 16; */ public static final int CacheFailed_VALUE = 16; /** * CannotCreateFolder = 17; */ public static final int CannotCreateFolder_VALUE = 17; /** * CannotCreateFile = 18; */ public static final int CannotCreateFile_VALUE = 18; /** * CannotDeleteFolder = 19; */ public static final int CannotDeleteFolder_VALUE = 19; /** * CannotDeleteFile = 20; */ public static final int CannotDeleteFile_VALUE = 20; /** * BuildIndexError = 21; */ public static final int BuildIndexError_VALUE = 21; /** * IllegalNLIST = 22; */ public static final int IllegalNLIST_VALUE = 22; /** * IllegalMetricType = 23; */ public static final int IllegalMetricType_VALUE = 23; /** * OutOfMemory = 24; */ public static final int OutOfMemory_VALUE = 24; /** * IndexNotExist = 25; */ public static final int IndexNotExist_VALUE = 25; /** * EmptyCollection = 26; */ public static final int EmptyCollection_VALUE = 26; /** * UpdateImportTaskFailure = 27; */ public static final int UpdateImportTaskFailure_VALUE = 27; /** * CollectionNameNotFound = 28; */ public static final int CollectionNameNotFound_VALUE = 28; /** * CreateCredentialFailure = 29; */ public static final int CreateCredentialFailure_VALUE = 29; /** * UpdateCredentialFailure = 30; */ public static final int UpdateCredentialFailure_VALUE = 30; /** * DeleteCredentialFailure = 31; */ public static final int DeleteCredentialFailure_VALUE = 31; /** * GetCredentialFailure = 32; */ public static final int GetCredentialFailure_VALUE = 32; /** * ListCredUsersFailure = 33; */ public static final int ListCredUsersFailure_VALUE = 33; /** * GetUserFailure = 34; */ public static final int GetUserFailure_VALUE = 34; /** * CreateRoleFailure = 35; */ public static final int CreateRoleFailure_VALUE = 35; /** * DropRoleFailure = 36; */ public static final int DropRoleFailure_VALUE = 36; /** * OperateUserRoleFailure = 37; */ public static final int OperateUserRoleFailure_VALUE = 37; /** * SelectRoleFailure = 38; */ public static final int SelectRoleFailure_VALUE = 38; /** * SelectUserFailure = 39; */ public static final int SelectUserFailure_VALUE = 39; /** * SelectResourceFailure = 40; */ public static final int SelectResourceFailure_VALUE = 40; /** * OperatePrivilegeFailure = 41; */ public static final int OperatePrivilegeFailure_VALUE = 41; /** * SelectGrantFailure = 42; */ public static final int SelectGrantFailure_VALUE = 42; /** * RefreshPolicyInfoCacheFailure = 43; */ public static final int RefreshPolicyInfoCacheFailure_VALUE = 43; /** * ListPolicyFailure = 44; */ public static final int ListPolicyFailure_VALUE = 44; /** * NotShardLeader = 45; */ public static final int NotShardLeader_VALUE = 45; /** * NoReplicaAvailable = 46; */ public static final int NoReplicaAvailable_VALUE = 46; /** * SegmentNotFound = 47; */ public static final int SegmentNotFound_VALUE = 47; /** * ForceDeny = 48; */ public static final int ForceDeny_VALUE = 48; /** * RateLimit = 49; */ public static final int RateLimit_VALUE = 49; /** * NodeIDNotMatch = 50; */ public static final int NodeIDNotMatch_VALUE = 50; /** * UpsertAutoIDTrue = 51; */ public static final int UpsertAutoIDTrue_VALUE = 51; /** * InsufficientMemoryToLoad = 52; */ public static final int InsufficientMemoryToLoad_VALUE = 52; /** * MemoryQuotaExhausted = 53; */ public static final int MemoryQuotaExhausted_VALUE = 53; /** * DiskQuotaExhausted = 54; */ public static final int DiskQuotaExhausted_VALUE = 54; /** * TimeTickLongDelay = 55; */ public static final int TimeTickLongDelay_VALUE = 55; /** * NotReadyServe = 56; */ public static final int NotReadyServe_VALUE = 56; /** *
   * Coord is switching from standby mode to active mode
   * 
* * NotReadyCoordActivating = 57; */ public static final int NotReadyCoordActivating_VALUE = 57; /** *
   * Service availability.
   * NA: Not Available.
   * 
* * DataCoordNA = 100; */ public static final int DataCoordNA_VALUE = 100; /** *
   * internal error code.
   * 
* * DDRequestRace = 1000; */ public static final int DDRequestRace_VALUE = 1000; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ErrorCode valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static ErrorCode forNumber(int value) { switch (value) { case 0: return Success; case 1: return UnexpectedError; case 2: return ConnectFailed; case 3: return PermissionDenied; case 4: return CollectionNotExists; case 5: return IllegalArgument; case 7: return IllegalDimension; case 8: return IllegalIndexType; case 9: return IllegalCollectionName; case 10: return IllegalTOPK; case 11: return IllegalRowRecord; case 12: return IllegalVectorID; case 13: return IllegalSearchResult; case 14: return FileNotFound; case 15: return MetaFailed; case 16: return CacheFailed; case 17: return CannotCreateFolder; case 18: return CannotCreateFile; case 19: return CannotDeleteFolder; case 20: return CannotDeleteFile; case 21: return BuildIndexError; case 22: return IllegalNLIST; case 23: return IllegalMetricType; case 24: return OutOfMemory; case 25: return IndexNotExist; case 26: return EmptyCollection; case 27: return UpdateImportTaskFailure; case 28: return CollectionNameNotFound; case 29: return CreateCredentialFailure; case 30: return UpdateCredentialFailure; case 31: return DeleteCredentialFailure; case 32: return GetCredentialFailure; case 33: return ListCredUsersFailure; case 34: return GetUserFailure; case 35: return CreateRoleFailure; case 36: return DropRoleFailure; case 37: return OperateUserRoleFailure; case 38: return SelectRoleFailure; case 39: return SelectUserFailure; case 40: return SelectResourceFailure; case 41: return OperatePrivilegeFailure; case 42: return SelectGrantFailure; case 43: return RefreshPolicyInfoCacheFailure; case 44: return ListPolicyFailure; case 45: return NotShardLeader; case 46: return NoReplicaAvailable; case 47: return SegmentNotFound; case 48: return ForceDeny; case 49: return RateLimit; case 50: return NodeIDNotMatch; case 51: return UpsertAutoIDTrue; case 52: return InsufficientMemoryToLoad; case 53: return MemoryQuotaExhausted; case 54: return DiskQuotaExhausted; case 55: return TimeTickLongDelay; case 56: return NotReadyServe; case 57: return NotReadyCoordActivating; case 100: return DataCoordNA; case 1000: return DDRequestRace; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< ErrorCode> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ErrorCode findValueByNumber(int number) { return ErrorCode.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return io.milvus.grpc.CommonProto.getDescriptor().getEnumTypes().get(0); } private static final ErrorCode[] VALUES = values(); public static ErrorCode valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private ErrorCode(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:milvus.proto.common.ErrorCode) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy