Package io.milvus.grpc
Enum SegmentState
- java.lang.Object
-
- java.lang.Enum<SegmentState>
-
- io.milvus.grpc.SegmentState
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<SegmentState>
public enum SegmentState extends Enum<SegmentState> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enummilvus.proto.common.SegmentState
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DroppedDropped = 6;FlushedFlushed = 4;FlushingFlushing = 5;GrowingGrowing = 2;ImportingImporting = 7;NotExistNotExist = 1;SealedSealed = 3;SegmentStateNoneSegmentStateNone = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intDropped_VALUEDropped = 6;static intFlushed_VALUEFlushed = 4;static intFlushing_VALUEFlushing = 5;static intGrowing_VALUEGrowing = 2;static intImporting_VALUEImporting = 7;static intNotExist_VALUENotExist = 1;static intSealed_VALUESealed = 3;static intSegmentStateNone_VALUESegmentStateNone = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SegmentStateforNumber(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<SegmentState>internalGetValueMap()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 SegmentStatevalueOf(String name)Returns 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 Detail
-
SegmentStateNone
public static final SegmentState SegmentStateNone
SegmentStateNone = 0;
-
NotExist
public static final SegmentState NotExist
NotExist = 1;
-
Growing
public static final SegmentState Growing
Growing = 2;
-
Sealed
public static final SegmentState Sealed
Sealed = 3;
-
Flushed
public static final SegmentState Flushed
Flushed = 4;
-
Flushing
public static final SegmentState Flushing
Flushing = 5;
-
Dropped
public static final SegmentState Dropped
Dropped = 6;
-
Importing
public static final SegmentState Importing
Importing = 7;
-
UNRECOGNIZED
public static final SegmentState UNRECOGNIZED
-
-
Field Detail
-
SegmentStateNone_VALUE
public static final int SegmentStateNone_VALUE
SegmentStateNone = 0;- See Also:
- Constant Field Values
-
NotExist_VALUE
public static final int NotExist_VALUE
NotExist = 1;- See Also:
- Constant Field Values
-
Growing_VALUE
public static final int Growing_VALUE
Growing = 2;- See Also:
- Constant Field Values
-
Sealed_VALUE
public static final int Sealed_VALUE
Sealed = 3;- See Also:
- Constant Field Values
-
Flushed_VALUE
public static final int Flushed_VALUE
Flushed = 4;- See Also:
- Constant Field Values
-
Flushing_VALUE
public static final int Flushing_VALUE
Flushing = 5;- See Also:
- Constant Field Values
-
Dropped_VALUE
public static final int Dropped_VALUE
Dropped = 6;- See Also:
- Constant Field Values
-
Importing_VALUE
public static final int Importing_VALUE
Importing = 7;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static SegmentState[] 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 (SegmentState c : SegmentState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SegmentState 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 SegmentState 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 SegmentState 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<SegmentState> 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 SegmentState 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
-
-