Package ai.chalk.protos.chalk.auth.v1
Enum Class FeaturePermission
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<FeaturePermission>,Constable
public enum FeaturePermission
extends Enum<FeaturePermission>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
chalk.auth.v1.FeaturePermission-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAllow unfettered access to the feature.Allow access to the feature only within a query plan, and do not return the feature to the client directly.Deny access to the feature, even if the user hasn't requested access to this feature directly, but needs the feature to compute the result of the query.FEATURE_PERMISSION_UNSPECIFIED = 0; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAllow access to the feature only within a query plan, and do not return the feature to the client directly.static final intAllow unfettered access to the feature.static final intDeny access to the feature, even if the user hasn't requested access to this feature directly, but needs the feature to compute the result of the query.static final intFEATURE_PERMISSION_UNSPECIFIED = 0; -
Method Summary
Modifier and TypeMethodDescriptionstatic FeaturePermissionforNumber(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<FeaturePermission>static FeaturePermissionvalueOf(int value) Deprecated.static FeaturePermissionvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static FeaturePermissionReturns the enum constant of this class with the specified name.static FeaturePermission[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FEATURE_PERMISSION_UNSPECIFIED
FEATURE_PERMISSION_UNSPECIFIED = 0; -
FEATURE_PERMISSION_ALLOW
Allow unfettered access to the feature. This permission is the default permission for all features.
FEATURE_PERMISSION_ALLOW = 1; -
FEATURE_PERMISSION_ALLOW_INTERNAL
Allow access to the feature only within a query plan, and do not return the feature to the client directly.
FEATURE_PERMISSION_ALLOW_INTERNAL = 2; -
FEATURE_PERMISSION_DENY
Deny access to the feature, even if the user hasn't requested access to this feature directly, but needs the feature to compute the result of the query.
FEATURE_PERMISSION_DENY = 3; -
UNRECOGNIZED
-
-
Field Details
-
FEATURE_PERMISSION_UNSPECIFIED_VALUE
public static final int FEATURE_PERMISSION_UNSPECIFIED_VALUEFEATURE_PERMISSION_UNSPECIFIED = 0;- See Also:
-
FEATURE_PERMISSION_ALLOW_VALUE
public static final int FEATURE_PERMISSION_ALLOW_VALUEAllow unfettered access to the feature. This permission is the default permission for all features.
FEATURE_PERMISSION_ALLOW = 1;- See Also:
-
FEATURE_PERMISSION_ALLOW_INTERNAL_VALUE
public static final int FEATURE_PERMISSION_ALLOW_INTERNAL_VALUEAllow access to the feature only within a query plan, and do not return the feature to the client directly.
FEATURE_PERMISSION_ALLOW_INTERNAL = 2;- See Also:
-
FEATURE_PERMISSION_DENY_VALUE
public static final int FEATURE_PERMISSION_DENY_VALUEDeny access to the feature, even if the user hasn't requested access to this feature directly, but needs the feature to compute the result of the query.
FEATURE_PERMISSION_DENY = 3;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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 class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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 class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-