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,java.io.Serializable,java.lang.Comparable<RBAC.AuditLoggingOptions.AuditCondition>
- Enclosing class:
- RBAC.AuditLoggingOptions
public static enum RBAC.AuditLoggingOptions.AuditCondition extends java.lang.Enum<RBAC.AuditLoggingOptions.AuditCondition> implements com.google.protobuf.ProtocolMessageEnum
Deny and allow here refer to RBAC decisions, not actions.
Protobuf enumenvoy.config.rbac.v3.RBAC.AuditLoggingOptions.AuditCondition
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NONENever audit.ON_ALLOWAudit when RBAC allows the request.ON_DENYAudit when RBAC denies the request.ON_DENY_AND_ALLOWAudit whether RBAC allows or denies the request.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description private static com.google.protobuf.Internal.EnumLiteMap<RBAC.AuditLoggingOptions.AuditCondition>internalValueMapstatic intNONE_VALUENever audit.static intON_ALLOW_VALUEAudit when RBAC allows the request.static intON_DENY_AND_ALLOW_VALUEAudit whether RBAC allows or denies the request.static intON_DENY_VALUEAudit when RBAC denies the request.private intvalueprivate static RBAC.AuditLoggingOptions.AuditCondition[]VALUES
-
Constructor Summary
Constructors Modifier Constructor Description privateAuditCondition(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static RBAC.AuditLoggingOptions.AuditConditionforNumber(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<RBAC.AuditLoggingOptions.AuditCondition>internalGetValueMap()static RBAC.AuditLoggingOptions.AuditConditionvalueOf(int value)Deprecated.static RBAC.AuditLoggingOptions.AuditConditionvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static RBAC.AuditLoggingOptions.AuditConditionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static RBAC.AuditLoggingOptions.AuditCondition[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final RBAC.AuditLoggingOptions.AuditCondition NONE
Never audit.
NONE = 0;
-
ON_DENY
public static final RBAC.AuditLoggingOptions.AuditCondition ON_DENY
Audit when RBAC denies the request.
ON_DENY = 1;
-
ON_ALLOW
public static final RBAC.AuditLoggingOptions.AuditCondition ON_ALLOW
Audit when RBAC allows the request.
ON_ALLOW = 2;
-
ON_DENY_AND_ALLOW
public static final RBAC.AuditLoggingOptions.AuditCondition ON_DENY_AND_ALLOW
Audit whether RBAC allows or denies the request.
ON_DENY_AND_ALLOW = 3;
-
UNRECOGNIZED
public static final RBAC.AuditLoggingOptions.AuditCondition UNRECOGNIZED
-
-
Field Detail
-
NONE_VALUE
public static final int NONE_VALUE
Never audit.
NONE = 0;- See Also:
- Constant Field Values
-
ON_DENY_VALUE
public static final int ON_DENY_VALUE
Audit when RBAC denies the request.
ON_DENY = 1;- See Also:
- Constant Field Values
-
ON_ALLOW_VALUE
public static final int ON_ALLOW_VALUE
Audit when RBAC allows the request.
ON_ALLOW = 2;- See Also:
- Constant Field Values
-
ON_DENY_AND_ALLOW_VALUE
public static final int ON_DENY_AND_ALLOW_VALUE
Audit whether RBAC allows or denies the request.
ON_DENY_AND_ALLOW = 3;- See Also:
- Constant Field Values
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<RBAC.AuditLoggingOptions.AuditCondition> internalValueMap
-
VALUES
private static final RBAC.AuditLoggingOptions.AuditCondition[] VALUES
-
value
private final int value
-
-
Method Detail
-
values
public static RBAC.AuditLoggingOptions.AuditCondition[] 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 (RBAC.AuditLoggingOptions.AuditCondition c : RBAC.AuditLoggingOptions.AuditCondition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RBAC.AuditLoggingOptions.AuditCondition 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 namejava.lang.NullPointerException- 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 RBAC.AuditLoggingOptions.AuditCondition 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 namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static RBAC.AuditLoggingOptions.AuditCondition 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<RBAC.AuditLoggingOptions.AuditCondition> 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 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-