Package io.milvus.grpc
Enum IndexState
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<IndexState>,java.lang.constant.Constable
Protobuf enum
milvus.proto.common.IndexState-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFailed = 4;Finished = 3;IndexStateNone = 0;InProgress = 2;Retry = 5;Unissued = 1; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intFailed = 4;static final intFinished = 3;static final intIndexStateNone = 0;static final intInProgress = 2;static final intRetry = 5;static final intUnissued = 1; -
Method Summary
Modifier and TypeMethodDescriptionstatic IndexStateforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<IndexState> static IndexStatevalueOf(int value) Deprecated.static IndexStatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static IndexStateReturns the enum constant of this type with the specified name.static IndexState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
IndexStateNone
IndexStateNone = 0; -
Unissued
Unissued = 1; -
InProgress
InProgress = 2; -
Finished
Finished = 3; -
Failed
Failed = 4; -
Retry
Retry = 5; -
UNRECOGNIZED
-
-
Field Details
-
IndexStateNone_VALUE
public static final int IndexStateNone_VALUEIndexStateNone = 0;- See Also:
-
Unissued_VALUE
public static final int Unissued_VALUEUnissued = 1;- See Also:
-
InProgress_VALUE
public static final int InProgress_VALUEInProgress = 2;- See Also:
-
Finished_VALUE
public static final int Finished_VALUEFinished = 3;- See Also:
-
Failed_VALUE
public static final int Failed_VALUEFailed = 4;- See Also:
-
Retry_VALUE
public static final int Retry_VALUERetry = 5;- See Also:
-
-
Method Details
-
values
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
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.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
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
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
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
-