Package io.milvus.grpc
Enum SegmentState
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<SegmentState>,java.lang.constant.Constable
public enum SegmentState
extends Enum<SegmentState>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
milvus.proto.common.SegmentState-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDropped = 6;Flushed = 4;Flushing = 5;Growing = 2;Importing = 7;NotExist = 1;Sealed = 3;SegmentStateNone = 0; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDropped = 6;static final intFlushed = 4;static final intFlushing = 5;static final intGrowing = 2;static final intImporting = 7;static final intNotExist = 1;static final intSealed = 3;static final intSegmentStateNone = 0; -
Method Summary
Modifier and TypeMethodDescriptionstatic SegmentStateforNumber(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<SegmentState> static SegmentStatevalueOf(int value) Deprecated.static SegmentStatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static SegmentStateReturns the enum constant of this type with the specified name.static SegmentState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SegmentStateNone
SegmentStateNone = 0; -
NotExist
NotExist = 1; -
Growing
Growing = 2; -
Sealed
Sealed = 3; -
Flushed
Flushed = 4; -
Flushing
Flushing = 5; -
Dropped
Dropped = 6; -
Importing
Importing = 7; -
UNRECOGNIZED
-
-
Field Details
-
SegmentStateNone_VALUE
public static final int SegmentStateNone_VALUESegmentStateNone = 0;- See Also:
-
NotExist_VALUE
public static final int NotExist_VALUENotExist = 1;- See Also:
-
Growing_VALUE
public static final int Growing_VALUEGrowing = 2;- See Also:
-
Sealed_VALUE
public static final int Sealed_VALUESealed = 3;- See Also:
-
Flushed_VALUE
public static final int Flushed_VALUEFlushed = 4;- See Also:
-
Flushing_VALUE
public static final int Flushing_VALUEFlushing = 5;- See Also:
-
Dropped_VALUE
public static final int Dropped_VALUEDropped = 6;- See Also:
-
Importing_VALUE
public static final int Importing_VALUEImporting = 7;- 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
-