Package io.milvus.grpc
Enum ObjectPrivilege
- java.lang.Object
-
- java.lang.Enum<ObjectPrivilege>
-
- io.milvus.grpc.ObjectPrivilege
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ObjectPrivilege>
public enum ObjectPrivilege extends Enum<ObjectPrivilege> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enummilvus.proto.common.ObjectPrivilege
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PrivilegeAllPrivilegeAll = 0;PrivilegeCompactionPrivilegeCompaction = 7;PrivilegeCreateCollectionPrivilegeCreateCollection = 1;PrivilegeCreateIndexPrivilegeCreateIndex = 11;PrivilegeCreateOwnershipPrivilegeCreateOwnership = 19;PrivilegeDeletePrivilegeDelete = 9;PrivilegeDescribeCollectionPrivilegeDescribeCollection = 3;PrivilegeDropCollectionPrivilegeDropCollection = 2;PrivilegeDropIndexPrivilegeDropIndex = 13;PrivilegeDropOwnershipPrivilegeDropOwnership = 21;PrivilegeFlushPrivilegeFlush = 15;PrivilegeGetStatisticsPrivilegeGetStatistics = 10;PrivilegeImportPrivilegeImport = 18;PrivilegeIndexDetailPrivilegeIndexDetail = 12;PrivilegeInsertPrivilegeInsert = 8;PrivilegeLoadPrivilegeLoad = 5;PrivilegeLoadBalancePrivilegeLoadBalance = 17;PrivilegeManageOwnershipPrivilegeManageOwnership = 23;PrivilegeQueryPrivilegeQuery = 16;PrivilegeReleasePrivilegeRelease = 6;PrivilegeSearchPrivilegeSearch = 14;PrivilegeSelectOwnershipPrivilegeSelectOwnership = 22;PrivilegeSelectUserPrivilegeSelectUser = 24;PrivilegeShowCollectionsPrivilegeShowCollections = 4;PrivilegeUpdateUserPrivilegeUpdateUser = 20;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intPrivilegeAll_VALUEPrivilegeAll = 0;static intPrivilegeCompaction_VALUEPrivilegeCompaction = 7;static intPrivilegeCreateCollection_VALUEPrivilegeCreateCollection = 1;static intPrivilegeCreateIndex_VALUEPrivilegeCreateIndex = 11;static intPrivilegeCreateOwnership_VALUEPrivilegeCreateOwnership = 19;static intPrivilegeDelete_VALUEPrivilegeDelete = 9;static intPrivilegeDescribeCollection_VALUEPrivilegeDescribeCollection = 3;static intPrivilegeDropCollection_VALUEPrivilegeDropCollection = 2;static intPrivilegeDropIndex_VALUEPrivilegeDropIndex = 13;static intPrivilegeDropOwnership_VALUEPrivilegeDropOwnership = 21;static intPrivilegeFlush_VALUEPrivilegeFlush = 15;static intPrivilegeGetStatistics_VALUEPrivilegeGetStatistics = 10;static intPrivilegeImport_VALUEPrivilegeImport = 18;static intPrivilegeIndexDetail_VALUEPrivilegeIndexDetail = 12;static intPrivilegeInsert_VALUEPrivilegeInsert = 8;static intPrivilegeLoad_VALUEPrivilegeLoad = 5;static intPrivilegeLoadBalance_VALUEPrivilegeLoadBalance = 17;static intPrivilegeManageOwnership_VALUEPrivilegeManageOwnership = 23;static intPrivilegeQuery_VALUEPrivilegeQuery = 16;static intPrivilegeRelease_VALUEPrivilegeRelease = 6;static intPrivilegeSearch_VALUEPrivilegeSearch = 14;static intPrivilegeSelectOwnership_VALUEPrivilegeSelectOwnership = 22;static intPrivilegeSelectUser_VALUEPrivilegeSelectUser = 24;static intPrivilegeShowCollections_VALUEPrivilegeShowCollections = 4;static intPrivilegeUpdateUser_VALUEPrivilegeUpdateUser = 20;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ObjectPrivilegeforNumber(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<ObjectPrivilege>internalGetValueMap()static ObjectPrivilegevalueOf(int value)Deprecated.static ObjectPrivilegevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ObjectPrivilegevalueOf(String name)Returns the enum constant of this type with the specified name.static ObjectPrivilege[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PrivilegeAll
public static final ObjectPrivilege PrivilegeAll
PrivilegeAll = 0;
-
PrivilegeCreateCollection
public static final ObjectPrivilege PrivilegeCreateCollection
PrivilegeCreateCollection = 1;
-
PrivilegeDropCollection
public static final ObjectPrivilege PrivilegeDropCollection
PrivilegeDropCollection = 2;
-
PrivilegeDescribeCollection
public static final ObjectPrivilege PrivilegeDescribeCollection
PrivilegeDescribeCollection = 3;
-
PrivilegeShowCollections
public static final ObjectPrivilege PrivilegeShowCollections
PrivilegeShowCollections = 4;
-
PrivilegeLoad
public static final ObjectPrivilege PrivilegeLoad
PrivilegeLoad = 5;
-
PrivilegeRelease
public static final ObjectPrivilege PrivilegeRelease
PrivilegeRelease = 6;
-
PrivilegeCompaction
public static final ObjectPrivilege PrivilegeCompaction
PrivilegeCompaction = 7;
-
PrivilegeInsert
public static final ObjectPrivilege PrivilegeInsert
PrivilegeInsert = 8;
-
PrivilegeDelete
public static final ObjectPrivilege PrivilegeDelete
PrivilegeDelete = 9;
-
PrivilegeGetStatistics
public static final ObjectPrivilege PrivilegeGetStatistics
PrivilegeGetStatistics = 10;
-
PrivilegeCreateIndex
public static final ObjectPrivilege PrivilegeCreateIndex
PrivilegeCreateIndex = 11;
-
PrivilegeIndexDetail
public static final ObjectPrivilege PrivilegeIndexDetail
PrivilegeIndexDetail = 12;
-
PrivilegeDropIndex
public static final ObjectPrivilege PrivilegeDropIndex
PrivilegeDropIndex = 13;
-
PrivilegeSearch
public static final ObjectPrivilege PrivilegeSearch
PrivilegeSearch = 14;
-
PrivilegeFlush
public static final ObjectPrivilege PrivilegeFlush
PrivilegeFlush = 15;
-
PrivilegeQuery
public static final ObjectPrivilege PrivilegeQuery
PrivilegeQuery = 16;
-
PrivilegeLoadBalance
public static final ObjectPrivilege PrivilegeLoadBalance
PrivilegeLoadBalance = 17;
-
PrivilegeImport
public static final ObjectPrivilege PrivilegeImport
PrivilegeImport = 18;
-
PrivilegeCreateOwnership
public static final ObjectPrivilege PrivilegeCreateOwnership
PrivilegeCreateOwnership = 19;
-
PrivilegeUpdateUser
public static final ObjectPrivilege PrivilegeUpdateUser
PrivilegeUpdateUser = 20;
-
PrivilegeDropOwnership
public static final ObjectPrivilege PrivilegeDropOwnership
PrivilegeDropOwnership = 21;
-
PrivilegeSelectOwnership
public static final ObjectPrivilege PrivilegeSelectOwnership
PrivilegeSelectOwnership = 22;
-
PrivilegeManageOwnership
public static final ObjectPrivilege PrivilegeManageOwnership
PrivilegeManageOwnership = 23;
-
PrivilegeSelectUser
public static final ObjectPrivilege PrivilegeSelectUser
PrivilegeSelectUser = 24;
-
UNRECOGNIZED
public static final ObjectPrivilege UNRECOGNIZED
-
-
Field Detail
-
PrivilegeAll_VALUE
public static final int PrivilegeAll_VALUE
PrivilegeAll = 0;- See Also:
- Constant Field Values
-
PrivilegeCreateCollection_VALUE
public static final int PrivilegeCreateCollection_VALUE
PrivilegeCreateCollection = 1;- See Also:
- Constant Field Values
-
PrivilegeDropCollection_VALUE
public static final int PrivilegeDropCollection_VALUE
PrivilegeDropCollection = 2;- See Also:
- Constant Field Values
-
PrivilegeDescribeCollection_VALUE
public static final int PrivilegeDescribeCollection_VALUE
PrivilegeDescribeCollection = 3;- See Also:
- Constant Field Values
-
PrivilegeShowCollections_VALUE
public static final int PrivilegeShowCollections_VALUE
PrivilegeShowCollections = 4;- See Also:
- Constant Field Values
-
PrivilegeLoad_VALUE
public static final int PrivilegeLoad_VALUE
PrivilegeLoad = 5;- See Also:
- Constant Field Values
-
PrivilegeRelease_VALUE
public static final int PrivilegeRelease_VALUE
PrivilegeRelease = 6;- See Also:
- Constant Field Values
-
PrivilegeCompaction_VALUE
public static final int PrivilegeCompaction_VALUE
PrivilegeCompaction = 7;- See Also:
- Constant Field Values
-
PrivilegeInsert_VALUE
public static final int PrivilegeInsert_VALUE
PrivilegeInsert = 8;- See Also:
- Constant Field Values
-
PrivilegeDelete_VALUE
public static final int PrivilegeDelete_VALUE
PrivilegeDelete = 9;- See Also:
- Constant Field Values
-
PrivilegeGetStatistics_VALUE
public static final int PrivilegeGetStatistics_VALUE
PrivilegeGetStatistics = 10;- See Also:
- Constant Field Values
-
PrivilegeCreateIndex_VALUE
public static final int PrivilegeCreateIndex_VALUE
PrivilegeCreateIndex = 11;- See Also:
- Constant Field Values
-
PrivilegeIndexDetail_VALUE
public static final int PrivilegeIndexDetail_VALUE
PrivilegeIndexDetail = 12;- See Also:
- Constant Field Values
-
PrivilegeDropIndex_VALUE
public static final int PrivilegeDropIndex_VALUE
PrivilegeDropIndex = 13;- See Also:
- Constant Field Values
-
PrivilegeSearch_VALUE
public static final int PrivilegeSearch_VALUE
PrivilegeSearch = 14;- See Also:
- Constant Field Values
-
PrivilegeFlush_VALUE
public static final int PrivilegeFlush_VALUE
PrivilegeFlush = 15;- See Also:
- Constant Field Values
-
PrivilegeQuery_VALUE
public static final int PrivilegeQuery_VALUE
PrivilegeQuery = 16;- See Also:
- Constant Field Values
-
PrivilegeLoadBalance_VALUE
public static final int PrivilegeLoadBalance_VALUE
PrivilegeLoadBalance = 17;- See Also:
- Constant Field Values
-
PrivilegeImport_VALUE
public static final int PrivilegeImport_VALUE
PrivilegeImport = 18;- See Also:
- Constant Field Values
-
PrivilegeCreateOwnership_VALUE
public static final int PrivilegeCreateOwnership_VALUE
PrivilegeCreateOwnership = 19;- See Also:
- Constant Field Values
-
PrivilegeUpdateUser_VALUE
public static final int PrivilegeUpdateUser_VALUE
PrivilegeUpdateUser = 20;- See Also:
- Constant Field Values
-
PrivilegeDropOwnership_VALUE
public static final int PrivilegeDropOwnership_VALUE
PrivilegeDropOwnership = 21;- See Also:
- Constant Field Values
-
PrivilegeSelectOwnership_VALUE
public static final int PrivilegeSelectOwnership_VALUE
PrivilegeSelectOwnership = 22;- See Also:
- Constant Field Values
-
PrivilegeManageOwnership_VALUE
public static final int PrivilegeManageOwnership_VALUE
PrivilegeManageOwnership = 23;- See Also:
- Constant Field Values
-
PrivilegeSelectUser_VALUE
public static final int PrivilegeSelectUser_VALUE
PrivilegeSelectUser = 24;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ObjectPrivilege[] 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 (ObjectPrivilege c : ObjectPrivilege.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ObjectPrivilege 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 ObjectPrivilege 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 ObjectPrivilege 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<ObjectPrivilege> 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 ObjectPrivilege 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
-
-