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