Class DenyRuleExplanation.AnnotatedPermissionMatching (1.48.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
Type Description
int

RELEVANCE_FIELD_NUMBER

public static final int RELEVANCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DenyRuleExplanation.AnnotatedPermissionMatching getDefaultInstance()
Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DenyRuleExplanation.AnnotatedPermissionMatching.Builder newBuilder()
Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching.Builder

newBuilder(DenyRuleExplanation.AnnotatedPermissionMatching prototype)

public static DenyRuleExplanation.AnnotatedPermissionMatching.Builder newBuilder(DenyRuleExplanation.AnnotatedPermissionMatching prototype)
Parameter
Name Description
prototype DenyRuleExplanation.AnnotatedPermissionMatching
Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching.Builder

parseDelimitedFrom(InputStream input)

public static DenyRuleExplanation.AnnotatedPermissionMatching parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DenyRuleExplanation.AnnotatedPermissionMatching parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DenyRuleExplanation.AnnotatedPermissionMatching parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DenyRuleExplanation.AnnotatedPermissionMatching parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DenyRuleExplanation.AnnotatedPermissionMatching parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DenyRuleExplanation.AnnotatedPermissionMatching parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DenyRuleExplanation.AnnotatedPermissionMatching parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DenyRuleExplanation.AnnotatedPermissionMatching parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DenyRuleExplanation.AnnotatedPermissionMatching parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DenyRuleExplanation.AnnotatedPermissionMatching parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DenyRuleExplanation.AnnotatedPermissionMatching parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DenyRuleExplanation.AnnotatedPermissionMatching parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching
Exceptions
Type Description
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public DenyRuleExplanation.AnnotatedPermissionMatching getDefaultInstanceForType()
Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching

getParserForType()

public Parser<DenyRuleExplanation.AnnotatedPermissionMatching> getParserForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
int

The enum numeric value on the wire for relevance.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DenyRuleExplanation.AnnotatedPermissionMatching.Builder newBuilderForType()
Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DenyRuleExplanation.AnnotatedPermissionMatching.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DenyRuleExplanation.AnnotatedPermissionMatching.Builder toBuilder()
Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException