Package io.milvus.grpc
Enum PlaceholderType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<PlaceholderType>,java.lang.constant.Constable
public enum PlaceholderType
extends Enum<PlaceholderType>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
milvus.proto.common.PlaceholderType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBFloat16Vector = 103;BinaryVector = 100;Float16Vector = 102;FloatVector = 101;Int64 = 5;None = 0;SparseFloatVector = 104;VarChar = 21; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBFloat16Vector = 103;static final intBinaryVector = 100;static final intFloat16Vector = 102;static final intFloatVector = 101;static final intInt64 = 5;static final intNone = 0;static final intSparseFloatVector = 104;static final intVarChar = 21; -
Method Summary
Modifier and TypeMethodDescriptionstatic PlaceholderTypeforNumber(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<PlaceholderType> static PlaceholderTypevalueOf(int value) Deprecated.static PlaceholderTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static PlaceholderTypeReturns the enum constant of this type with the specified name.static PlaceholderType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
None
None = 0; -
BinaryVector
BinaryVector = 100; -
FloatVector
FloatVector = 101; -
Float16Vector
Float16Vector = 102; -
BFloat16Vector
BFloat16Vector = 103; -
SparseFloatVector
SparseFloatVector = 104; -
Int64
Int64 = 5; -
VarChar
VarChar = 21; -
UNRECOGNIZED
-
-
Field Details
-
None_VALUE
public static final int None_VALUENone = 0;- See Also:
-
BinaryVector_VALUE
public static final int BinaryVector_VALUEBinaryVector = 100;- See Also:
-
FloatVector_VALUE
public static final int FloatVector_VALUEFloatVector = 101;- See Also:
-
Float16Vector_VALUE
public static final int Float16Vector_VALUEFloat16Vector = 102;- See Also:
-
BFloat16Vector_VALUE
public static final int BFloat16Vector_VALUEBFloat16Vector = 103;- See Also:
-
SparseFloatVector_VALUE
public static final int SparseFloatVector_VALUESparseFloatVector = 104;- See Also:
-
Int64_VALUE
public static final int Int64_VALUEInt64 = 5;- See Also:
-
VarChar_VALUE
public static final int VarChar_VALUEVarChar = 21;- 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
-