Enum 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 enum milvus.proto.common.ObjectPrivilege
    • 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;
      • PrivilegeCreateResourceGroup

        public static final ObjectPrivilege PrivilegeCreateResourceGroup
        PrivilegeCreateResourceGroup = 26;
      • PrivilegeDropResourceGroup

        public static final ObjectPrivilege PrivilegeDropResourceGroup
        PrivilegeDropResourceGroup = 27;
      • PrivilegeDescribeResourceGroup

        public static final ObjectPrivilege PrivilegeDescribeResourceGroup
        PrivilegeDescribeResourceGroup = 28;
      • PrivilegeListResourceGroups

        public static final ObjectPrivilege PrivilegeListResourceGroups
        PrivilegeListResourceGroups = 29;
      • PrivilegeTransferNode

        public static final ObjectPrivilege PrivilegeTransferNode
        PrivilegeTransferNode = 30;
      • PrivilegeTransferReplica

        public static final ObjectPrivilege PrivilegeTransferReplica
        PrivilegeTransferReplica = 31;
      • PrivilegeGetLoadingProgress

        public static final ObjectPrivilege PrivilegeGetLoadingProgress
        PrivilegeGetLoadingProgress = 32;
      • PrivilegeGetLoadState

        public static final ObjectPrivilege PrivilegeGetLoadState
        PrivilegeGetLoadState = 33;
      • PrivilegeRenameCollection

        public static final ObjectPrivilege PrivilegeRenameCollection
        PrivilegeRenameCollection = 34;
      • PrivilegeCreateDatabase

        public static final ObjectPrivilege PrivilegeCreateDatabase
        PrivilegeCreateDatabase = 35;
      • PrivilegeDropDatabase

        public static final ObjectPrivilege PrivilegeDropDatabase
        PrivilegeDropDatabase = 36;
      • PrivilegeListDatabases

        public static final ObjectPrivilege PrivilegeListDatabases
        PrivilegeListDatabases = 37;
      • PrivilegeFlushAll

        public static final ObjectPrivilege PrivilegeFlushAll
        PrivilegeFlushAll = 38;
    • 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
      • PrivilegeCreateResourceGroup_VALUE

        public static final int PrivilegeCreateResourceGroup_VALUE
        PrivilegeCreateResourceGroup = 26;
        See Also:
        Constant Field Values
      • PrivilegeDropResourceGroup_VALUE

        public static final int PrivilegeDropResourceGroup_VALUE
        PrivilegeDropResourceGroup = 27;
        See Also:
        Constant Field Values
      • PrivilegeDescribeResourceGroup_VALUE

        public static final int PrivilegeDescribeResourceGroup_VALUE
        PrivilegeDescribeResourceGroup = 28;
        See Also:
        Constant Field Values
      • PrivilegeListResourceGroups_VALUE

        public static final int PrivilegeListResourceGroups_VALUE
        PrivilegeListResourceGroups = 29;
        See Also:
        Constant Field Values
      • PrivilegeTransferNode_VALUE

        public static final int PrivilegeTransferNode_VALUE
        PrivilegeTransferNode = 30;
        See Also:
        Constant Field Values
      • PrivilegeTransferReplica_VALUE

        public static final int PrivilegeTransferReplica_VALUE
        PrivilegeTransferReplica = 31;
        See Also:
        Constant Field Values
      • PrivilegeGetLoadingProgress_VALUE

        public static final int PrivilegeGetLoadingProgress_VALUE
        PrivilegeGetLoadingProgress = 32;
        See Also:
        Constant Field Values
      • PrivilegeGetLoadState_VALUE

        public static final int PrivilegeGetLoadState_VALUE
        PrivilegeGetLoadState = 33;
        See Also:
        Constant Field Values
      • PrivilegeRenameCollection_VALUE

        public static final int PrivilegeRenameCollection_VALUE
        PrivilegeRenameCollection = 34;
        See Also:
        Constant Field Values
      • PrivilegeCreateDatabase_VALUE

        public static final int PrivilegeCreateDatabase_VALUE
        PrivilegeCreateDatabase = 35;
        See Also:
        Constant Field Values
      • PrivilegeDropDatabase_VALUE

        public static final int PrivilegeDropDatabase_VALUE
        PrivilegeDropDatabase = 36;
        See Also:
        Constant Field Values
      • PrivilegeListDatabases_VALUE

        public static final int PrivilegeListDatabases_VALUE
        PrivilegeListDatabases = 37;
        See Also:
        Constant Field Values
      • PrivilegeFlushAll_VALUE

        public static final int PrivilegeFlushAll_VALUE
        PrivilegeFlushAll = 38;
        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 name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        NullPointerException - 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:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        NullPointerException - if the argument is null