public static enum AuditConfigDelta.Action extends java.lang.Enum<AuditConfigDelta.Action> implements ProtocolMessageEnum
The type of action performed on an audit configuration in a policy.Protobuf enum
google.iam.v1.AuditConfigDelta.Action
Enum Constant and Description |
---|
ACTION_UNSPECIFIED
Unspecified.
|
ADD
Addition of an audit configuration.
|
REMOVE
Removal of an audit configuration.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
ACTION_UNSPECIFIED_VALUE
Unspecified.
|
static int |
ADD_VALUE
Addition of an audit configuration.
|
static int |
REMOVE_VALUE
Removal of an audit configuration.
|
Modifier and Type | Method and Description |
---|---|
static AuditConfigDelta.Action |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<AuditConfigDelta.Action> |
internalGetValueMap() |
static AuditConfigDelta.Action |
valueOf(Descriptors.EnumValueDescriptor desc) |
static AuditConfigDelta.Action |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AuditConfigDelta.Action |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AuditConfigDelta.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuditConfigDelta.Action ACTION_UNSPECIFIED
Unspecified.
ACTION_UNSPECIFIED = 0;
public static final AuditConfigDelta.Action ADD
Addition of an audit configuration.
ADD = 1;
public static final AuditConfigDelta.Action REMOVE
Removal of an audit configuration.
REMOVE = 2;
public static final AuditConfigDelta.Action UNRECOGNIZED
public static final int ACTION_UNSPECIFIED_VALUE
Unspecified.
ACTION_UNSPECIFIED = 0;
public static final int ADD_VALUE
Addition of an audit configuration.
ADD = 1;
public static final int REMOVE_VALUE
Removal of an audit configuration.
REMOVE = 2;
public static AuditConfigDelta.Action[] values()
for (AuditConfigDelta.Action c : AuditConfigDelta.Action.values()) System.out.println(c);
public static AuditConfigDelta.Action valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static AuditConfigDelta.Action valueOf(int value)
forNumber(int)
instead.public static AuditConfigDelta.Action forNumber(int value)
public static Internal.EnumLiteMap<AuditConfigDelta.Action> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static AuditConfigDelta.Action valueOf(Descriptors.EnumValueDescriptor desc)