Class DenyRuleExplanation.AnnotatedDenyPrincipalMatching (1.27.0)

public static final class DenyRuleExplanation.AnnotatedDenyPrincipalMatching extends GeneratedMessageV3 implements DenyRuleExplanation.AnnotatedDenyPrincipalMatchingOrBuilder

Details about whether the principal in the request is listed as a denied principal in the deny rule, either directly or through membership in a principal set.

Protobuf type google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DenyRuleExplanation.AnnotatedDenyPrincipalMatching

Static Fields

MEMBERSHIP_FIELD_NUMBER

public static final int MEMBERSHIP_FIELD_NUMBER
Field Value
TypeDescription
int

RELEVANCE_FIELD_NUMBER

public static final int RELEVANCE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DenyRuleExplanation.AnnotatedDenyPrincipalMatching getDefaultInstance()
Returns
TypeDescription
DenyRuleExplanation.AnnotatedDenyPrincipalMatching

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DenyRuleExplanation.AnnotatedDenyPrincipalMatching.Builder newBuilder()
Returns
TypeDescription
DenyRuleExplanation.AnnotatedDenyPrincipalMatching.Builder

newBuilder(DenyRuleExplanation.AnnotatedDenyPrincipalMatching prototype)

public static DenyRuleExplanation.AnnotatedDenyPrincipalMatching.Builder newBuilder(DenyRuleExplanation.AnnotatedDenyPrincipalMatching prototype)
Parameter
NameDescription
prototypeDenyRuleExplanation.AnnotatedDenyPrincipalMatching
Returns
TypeDescription
DenyRuleExplanation.AnnotatedDenyPrincipalMatching.Builder

parseDelimitedFrom(InputStream input)

public static DenyRuleExplanation.AnnotatedDenyPrincipalMatching parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DenyRuleExplanation.AnnotatedDenyPrincipalMatching
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DenyRuleExplanation.AnnotatedDenyPrincipalMatching parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DenyRuleExplanation.AnnotatedDenyPrincipalMatching
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DenyRuleExplanation.AnnotatedDenyPrincipalMatching parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DenyRuleExplanation.AnnotatedDenyPrincipalMatching
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DenyRuleExplanation.AnnotatedDenyPrincipalMatching parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DenyRuleExplanation.AnnotatedDenyPrincipalMatching
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DenyRuleExplanation.AnnotatedDenyPrincipalMatching parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DenyRuleExplanation.AnnotatedDenyPrincipalMatching
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DenyRuleExplanation.AnnotatedDenyPrincipalMatching parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DenyRuleExplanation.AnnotatedDenyPrincipalMatching
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DenyRuleExplanation.AnnotatedDenyPrincipalMatching parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DenyRuleExplanation.AnnotatedDenyPrincipalMatching
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DenyRuleExplanation.AnnotatedDenyPrincipalMatching parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DenyRuleExplanation.AnnotatedDenyPrincipalMatching
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DenyRuleExplanation.AnnotatedDenyPrincipalMatching parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DenyRuleExplanation.AnnotatedDenyPrincipalMatching
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DenyRuleExplanation.AnnotatedDenyPrincipalMatching parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DenyRuleExplanation.AnnotatedDenyPrincipalMatching
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DenyRuleExplanation.AnnotatedDenyPrincipalMatching parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DenyRuleExplanation.AnnotatedDenyPrincipalMatching
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DenyRuleExplanation.AnnotatedDenyPrincipalMatching parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DenyRuleExplanation.AnnotatedDenyPrincipalMatching
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DenyRuleExplanation.AnnotatedDenyPrincipalMatching> parser()
Returns
TypeDescription
Parser<AnnotatedDenyPrincipalMatching>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public DenyRuleExplanation.AnnotatedDenyPrincipalMatching getDefaultInstanceForType()
Returns
TypeDescription
DenyRuleExplanation.AnnotatedDenyPrincipalMatching

getMembership()

public MembershipMatchingState getMembership()

Indicates whether the principal is listed as a denied principal in the deny rule, either directly or through membership in a principal set.

.google.cloud.policytroubleshooter.iam.v3.MembershipMatchingState membership = 1;

Returns
TypeDescription
MembershipMatchingState

The membership.

getMembershipValue()

public int getMembershipValue()

Indicates whether the principal is listed as a denied principal in the deny rule, either directly or through membership in a principal set.

.google.cloud.policytroubleshooter.iam.v3.MembershipMatchingState membership = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for membership.

getParserForType()

public Parser<DenyRuleExplanation.AnnotatedDenyPrincipalMatching> getParserForType()
Returns
TypeDescription
Parser<AnnotatedDenyPrincipalMatching>
Overrides

getRelevance()

public HeuristicRelevance getRelevance()

The relevance of the principal's status to the overall determination for the role binding.

.google.cloud.policytroubleshooter.iam.v3.HeuristicRelevance relevance = 2;

Returns
TypeDescription
HeuristicRelevance

The relevance.

getRelevanceValue()

public int getRelevanceValue()

The relevance of the principal's status to the overall determination for the role binding.

.google.cloud.policytroubleshooter.iam.v3.HeuristicRelevance relevance = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for relevance.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DenyRuleExplanation.AnnotatedDenyPrincipalMatching.Builder newBuilderForType()
Returns
TypeDescription
DenyRuleExplanation.AnnotatedDenyPrincipalMatching.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DenyRuleExplanation.AnnotatedDenyPrincipalMatching.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DenyRuleExplanation.AnnotatedDenyPrincipalMatching.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DenyRuleExplanation.AnnotatedDenyPrincipalMatching.Builder toBuilder()
Returns
TypeDescription
DenyRuleExplanation.AnnotatedDenyPrincipalMatching.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException