public static enum BindingExplanation.Membership extends Enum<BindingExplanation.Membership> implements com.google.protobuf.ProtocolMessageEnum
Whether the binding includes the principal.Protobuf enum
google.cloud.policysimulator.v1.BindingExplanation.Membership| Enum Constant and Description |
|---|
MEMBERSHIP_INCLUDED
The binding includes the principal.
|
MEMBERSHIP_NOT_INCLUDED
The binding does not include the principal.
|
MEMBERSHIP_UNKNOWN_INFO_DENIED
The user who created the
[Replay][google.cloud.policysimulator.v1.Replay] is not
allowed to access the binding.
|
MEMBERSHIP_UNKNOWN_UNSUPPORTED
The principal is an unsupported type.
|
MEMBERSHIP_UNSPECIFIED
Default value.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
MEMBERSHIP_INCLUDED_VALUE
The binding includes the principal.
|
static int |
MEMBERSHIP_NOT_INCLUDED_VALUE
The binding does not include the principal.
|
static int |
MEMBERSHIP_UNKNOWN_INFO_DENIED_VALUE
The user who created the
[Replay][google.cloud.policysimulator.v1.Replay] is not
allowed to access the binding.
|
static int |
MEMBERSHIP_UNKNOWN_UNSUPPORTED_VALUE
The principal is an unsupported type.
|
static int |
MEMBERSHIP_UNSPECIFIED_VALUE
Default value.
|
| Modifier and Type | Method and Description |
|---|---|
static BindingExplanation.Membership |
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<BindingExplanation.Membership> |
internalGetValueMap() |
static BindingExplanation.Membership |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static BindingExplanation.Membership |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static BindingExplanation.Membership |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BindingExplanation.Membership[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BindingExplanation.Membership MEMBERSHIP_UNSPECIFIED
Default value. This value is unused.
MEMBERSHIP_UNSPECIFIED = 0;public static final BindingExplanation.Membership MEMBERSHIP_INCLUDED
The binding includes the principal. The principal can be included directly or indirectly. For example: * A principal is included directly if that principal is listed in the binding. * A principal is included indirectly if that principal is in a Google group or Google Workspace domain that is listed in the binding.
MEMBERSHIP_INCLUDED = 1;public static final BindingExplanation.Membership MEMBERSHIP_NOT_INCLUDED
The binding does not include the principal.
MEMBERSHIP_NOT_INCLUDED = 2;public static final BindingExplanation.Membership MEMBERSHIP_UNKNOWN_INFO_DENIED
The user who created the [Replay][google.cloud.policysimulator.v1.Replay] is not allowed to access the binding.
MEMBERSHIP_UNKNOWN_INFO_DENIED = 3;public static final BindingExplanation.Membership MEMBERSHIP_UNKNOWN_UNSUPPORTED
The principal is an unsupported type. Only Google Accounts and service accounts are supported.
MEMBERSHIP_UNKNOWN_UNSUPPORTED = 4;public static final BindingExplanation.Membership UNRECOGNIZED
public static final int MEMBERSHIP_UNSPECIFIED_VALUE
Default value. This value is unused.
MEMBERSHIP_UNSPECIFIED = 0;public static final int MEMBERSHIP_INCLUDED_VALUE
The binding includes the principal. The principal can be included directly or indirectly. For example: * A principal is included directly if that principal is listed in the binding. * A principal is included indirectly if that principal is in a Google group or Google Workspace domain that is listed in the binding.
MEMBERSHIP_INCLUDED = 1;public static final int MEMBERSHIP_NOT_INCLUDED_VALUE
The binding does not include the principal.
MEMBERSHIP_NOT_INCLUDED = 2;public static final int MEMBERSHIP_UNKNOWN_INFO_DENIED_VALUE
The user who created the [Replay][google.cloud.policysimulator.v1.Replay] is not allowed to access the binding.
MEMBERSHIP_UNKNOWN_INFO_DENIED = 3;public static final int MEMBERSHIP_UNKNOWN_UNSUPPORTED_VALUE
The principal is an unsupported type. Only Google Accounts and service accounts are supported.
MEMBERSHIP_UNKNOWN_UNSUPPORTED = 4;public static BindingExplanation.Membership[] values()
for (BindingExplanation.Membership c : BindingExplanation.Membership.values()) System.out.println(c);
public static BindingExplanation.Membership 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 com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static BindingExplanation.Membership valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static BindingExplanation.Membership forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<BindingExplanation.Membership> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static BindingExplanation.Membership valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.