public static enum IamBinding.Action extends Enum<IamBinding.Action> implements ProtocolMessageEnum
The type of action performed on a Binding in a policy.Protobuf enum
google.cloud.securitycenter.v1.IamBinding.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 IamBinding.Action |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<IamBinding.Action> |
internalGetValueMap() |
static IamBinding.Action |
valueOf(Descriptors.EnumValueDescriptor desc) |
static IamBinding.Action |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static IamBinding.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IamBinding.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IamBinding.Action ACTION_UNSPECIFIED
Unspecified.
ACTION_UNSPECIFIED = 0;
public static final IamBinding.Action ADD
Addition of a Binding.
ADD = 1;
public static final IamBinding.Action REMOVE
Removal of a Binding.
REMOVE = 2;
public static final IamBinding.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 IamBinding.Action[] values()
for (IamBinding.Action c : IamBinding.Action.values()) System.out.println(c);
public static IamBinding.Action valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static IamBinding.Action valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static IamBinding.Action forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<IamBinding.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 IamBinding.Action valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.