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 NONE
Never audit.ON_ALLOW
Audit when RBAC allows the request.ON_DENY
Audit when RBAC denies the request.ON_DENY_AND_ALLOW
Audit 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>
internalValueMap
static int
NONE_VALUE
Never audit.static int
ON_ALLOW_VALUE
Audit when RBAC allows the request.static int
ON_DENY_AND_ALLOW_VALUE
Audit whether RBAC allows or denies the request.static int
ON_DENY_VALUE
Audit when RBAC denies the request.private int
value
private static RBAC.AuditLoggingOptions.AuditCondition[]
VALUES
-
Constructor Summary
Constructors Modifier Constructor Description private
AuditCondition(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static RBAC.AuditLoggingOptions.AuditCondition
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<RBAC.AuditLoggingOptions.AuditCondition>
internalGetValueMap()
static RBAC.AuditLoggingOptions.AuditCondition
valueOf(int value)
Deprecated.static RBAC.AuditLoggingOptions.AuditCondition
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static RBAC.AuditLoggingOptions.AuditCondition
valueOf(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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in 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:
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-