Class DenyRuleExplanation.AnnotatedPermissionMatching (1.34.0)

public static final class DenyRuleExplanation.AnnotatedPermissionMatching extends GeneratedMessageV3 implements DenyRuleExplanation.AnnotatedPermissionMatchingOrBuilder

Details about whether the permission in the request is denied by the deny rule.

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

Inheritance

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

Static Fields

PERMISSION_MATCHING_STATE_FIELD_NUMBER

public static final int PERMISSION_MATCHING_STATE_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.AnnotatedPermissionMatching getDefaultInstance()
Returns
TypeDescription
DenyRuleExplanation.AnnotatedPermissionMatching

getDescriptor()

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

newBuilder()

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

newBuilder(DenyRuleExplanation.AnnotatedPermissionMatching prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getParserForType()

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

getPermissionMatchingState()

public PermissionPatternMatchingState getPermissionMatchingState()

Indicates whether the permission in the request is denied by the deny rule.

.google.cloud.policytroubleshooter.iam.v3.PermissionPatternMatchingState permission_matching_state = 1;

Returns
TypeDescription
PermissionPatternMatchingState

The permissionMatchingState.

getPermissionMatchingStateValue()

public int getPermissionMatchingStateValue()

Indicates whether the permission in the request is denied by the deny rule.

.google.cloud.policytroubleshooter.iam.v3.PermissionPatternMatchingState permission_matching_state = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for permissionMatchingState.

getRelevance()

public HeuristicRelevance getRelevance()

The relevance of the permission status to the overall determination for the rule.

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

Returns
TypeDescription
HeuristicRelevance

The relevance.

getRelevanceValue()

public int getRelevanceValue()

The relevance of the permission status to the overall determination for the rule.

.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.AnnotatedPermissionMatching.Builder newBuilderForType()
Returns
TypeDescription
DenyRuleExplanation.AnnotatedPermissionMatching.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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