Enum RBAC.AuditLoggingOptions.AuditCondition
java.lang.Object
java.lang.Enum<RBAC.AuditLoggingOptions.AuditCondition>
io.envoyproxy.envoy.config.rbac.v3.RBAC.AuditLoggingOptions.AuditCondition
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<RBAC.AuditLoggingOptions.AuditCondition>
- Enclosing class:
RBAC.AuditLoggingOptions
public static enum RBAC.AuditLoggingOptions.AuditCondition
extends Enum<RBAC.AuditLoggingOptions.AuditCondition>
implements com.google.protobuf.ProtocolMessageEnum
Deny and allow here refer to RBAC decisions, not actions.Protobuf enum
envoy.config.rbac.v3.RBAC.AuditLoggingOptions.AuditCondition
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNever audit.Audit when RBAC allows the request.Audit when RBAC denies the request.Audit whether RBAC allows or denies the request. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.google.protobuf.Internal.EnumLiteMap
<RBAC.AuditLoggingOptions.AuditCondition> static final int
Never audit.static final int
Audit when RBAC allows the request.static final int
Audit whether RBAC allows or denies the request.static final int
Audit when RBAC denies the request.private final int
private static final RBAC.AuditLoggingOptions.AuditCondition[]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionforNumber
(int value) static final com.google.protobuf.Descriptors.EnumDescriptor
final com.google.protobuf.Descriptors.EnumDescriptor
final int
final com.google.protobuf.Descriptors.EnumValueDescriptor
static com.google.protobuf.Internal.EnumLiteMap
<RBAC.AuditLoggingOptions.AuditCondition> valueOf
(int value) Deprecated.valueOf
(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NONE
Never audit.
NONE = 0;
-
ON_DENY
Audit when RBAC denies the request.
ON_DENY = 1;
-
ON_ALLOW
Audit when RBAC allows the request.
ON_ALLOW = 2;
-
ON_DENY_AND_ALLOW
Audit whether RBAC allows or denies the request.
ON_DENY_AND_ALLOW = 3;
-
UNRECOGNIZED
-
-
Field Details
-
NONE_VALUE
public static final int NONE_VALUENever audit.
NONE = 0;
- See Also:
-
ON_DENY_VALUE
public static final int ON_DENY_VALUEAudit when RBAC denies the request.
ON_DENY = 1;
- See Also:
-
ON_ALLOW_VALUE
public static final int ON_ALLOW_VALUEAudit when RBAC allows the request.
ON_ALLOW = 2;
- See Also:
-
ON_DENY_AND_ALLOW_VALUE
public static final int ON_DENY_AND_ALLOW_VALUEAudit whether RBAC allows or denies the request.
ON_DENY_AND_ALLOW = 3;
- See Also:
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<RBAC.AuditLoggingOptions.AuditCondition> internalValueMap -
VALUES
-
value
private final int value
-
-
Constructor Details
-
AuditCondition
private AuditCondition(int value)
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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
- 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<RBAC.AuditLoggingOptions.AuditCondition> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static RBAC.AuditLoggingOptions.AuditCondition 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
-