Package io.milvus.grpc
Enum RowPolicyAction
- java.lang.Object
-
- java.lang.Enum<RowPolicyAction>
-
- io.milvus.grpc.RowPolicyAction
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<RowPolicyAction>
public enum RowPolicyAction extends Enum<RowPolicyAction> implements com.google.protobuf.ProtocolMessageEnum
Row Policy Action enum
Protobuf enummilvus.proto.milvus.RowPolicyAction
-
-
Field Summary
Fields Modifier and Type Field Description static intDelete_VALUEDelete = 3;static intInsert_VALUEInsert = 2;static intQuery_VALUEQuery = 0;static intSearch_VALUESearch = 1;static intUpsert_VALUEUpsert = 4;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static RowPolicyActionforNumber(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<RowPolicyAction>internalGetValueMap()static RowPolicyActionvalueOf(int value)Deprecated.static RowPolicyActionvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static RowPolicyActionvalueOf(String name)Returns the enum constant of this type with the specified name.static RowPolicyAction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Query
public static final RowPolicyAction Query
Query = 0;
-
Search
public static final RowPolicyAction Search
Search = 1;
-
Insert
public static final RowPolicyAction Insert
Insert = 2;
-
Delete
public static final RowPolicyAction Delete
Delete = 3;
-
Upsert
public static final RowPolicyAction Upsert
Upsert = 4;
-
UNRECOGNIZED
public static final RowPolicyAction UNRECOGNIZED
-
-
Field Detail
-
Query_VALUE
public static final int Query_VALUE
Query = 0;- See Also:
- Constant Field Values
-
Search_VALUE
public static final int Search_VALUE
Search = 1;- See Also:
- Constant Field Values
-
Insert_VALUE
public static final int Insert_VALUE
Insert = 2;- See Also:
- Constant Field Values
-
Delete_VALUE
public static final int Delete_VALUE
Delete = 3;- See Also:
- Constant Field Values
-
Upsert_VALUE
public static final int Upsert_VALUE
Upsert = 4;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static RowPolicyAction[] 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 (RowPolicyAction c : RowPolicyAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RowPolicyAction 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 RowPolicyAction 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 RowPolicyAction 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<RowPolicyAction> 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 RowPolicyAction 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
-
-