Enum AccessLevel

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, java.io.Serializable, java.lang.Comparable<AccessLevel>

    public enum AccessLevel
    extends java.lang.Enum<AccessLevel>
    implements com.google.protobuf.Internal.EnumLite
    Protobuf enum streamlayer.common.AccessLevel
    • Enum Constant Detail

      • ACCESS_LEVEL_UNSET

        public static final AccessLevel ACCESS_LEVEL_UNSET
        ACCESS_LEVEL_UNSET = 0;
      • ACCESS_LEVEL_OWNER

        public static final AccessLevel ACCESS_LEVEL_OWNER
        ACCESS_LEVEL_OWNER = 1;
      • ACCESS_LEVEL_CLIENT

        public static final AccessLevel ACCESS_LEVEL_CLIENT
        ACCESS_LEVEL_CLIENT = 2;
      • ACCESS_LEVEL_MODERATOR

        public static final AccessLevel ACCESS_LEVEL_MODERATOR
        ACCESS_LEVEL_MODERATOR = 2900;
      • ACCESS_LEVEL_VIEWER

        public static final AccessLevel ACCESS_LEVEL_VIEWER
        ACCESS_LEVEL_VIEWER = 3000;
      • ACCESS_LEVEL_MEMBER

        public static final AccessLevel ACCESS_LEVEL_MEMBER
        ACCESS_LEVEL_MEMBER = 4000;
      • ACCESS_LEVEL_ADMIN

        public static final AccessLevel ACCESS_LEVEL_ADMIN
        ACCESS_LEVEL_ADMIN = 5000;
      • ACCESS_LEVEL_ROOT

        public static final AccessLevel ACCESS_LEVEL_ROOT
        ACCESS_LEVEL_ROOT = 10000;
      • UNRECOGNIZED

        public static final AccessLevel UNRECOGNIZED
    • Field Detail

      • ACCESS_LEVEL_UNSET_VALUE

        public static final int ACCESS_LEVEL_UNSET_VALUE
        ACCESS_LEVEL_UNSET = 0;
        See Also:
        Constant Field Values
      • ACCESS_LEVEL_OWNER_VALUE

        public static final int ACCESS_LEVEL_OWNER_VALUE
        ACCESS_LEVEL_OWNER = 1;
        See Also:
        Constant Field Values
      • ACCESS_LEVEL_CLIENT_VALUE

        public static final int ACCESS_LEVEL_CLIENT_VALUE
        ACCESS_LEVEL_CLIENT = 2;
        See Also:
        Constant Field Values
      • ACCESS_LEVEL_MODERATOR_VALUE

        public static final int ACCESS_LEVEL_MODERATOR_VALUE
        ACCESS_LEVEL_MODERATOR = 2900;
        See Also:
        Constant Field Values
      • ACCESS_LEVEL_VIEWER_VALUE

        public static final int ACCESS_LEVEL_VIEWER_VALUE
        ACCESS_LEVEL_VIEWER = 3000;
        See Also:
        Constant Field Values
      • ACCESS_LEVEL_MEMBER_VALUE

        public static final int ACCESS_LEVEL_MEMBER_VALUE
        ACCESS_LEVEL_MEMBER = 4000;
        See Also:
        Constant Field Values
      • ACCESS_LEVEL_ADMIN_VALUE

        public static final int ACCESS_LEVEL_ADMIN_VALUE
        ACCESS_LEVEL_ADMIN = 5000;
        See Also:
        Constant Field Values
      • ACCESS_LEVEL_ROOT_VALUE

        public static final int ACCESS_LEVEL_ROOT_VALUE
        ACCESS_LEVEL_ROOT = 10000;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static AccessLevel[] 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 (AccessLevel c : AccessLevel.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AccessLevel valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
      • valueOf

        @Deprecated
        public static AccessLevel 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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • forNumber

        public static AccessLevel forNumber​(int value)
      • internalGetValueMap

        public static com.google.protobuf.Internal.EnumLiteMap<AccessLevel> internalGetValueMap()
      • internalGetVerifier

        public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()