Class DenyRuleExplanation.AnnotatedPermissionMatching.Builder (1.41.0)

public static final class DenyRuleExplanation.AnnotatedPermissionMatching.Builder extends GeneratedMessageV3.Builder<DenyRuleExplanation.AnnotatedPermissionMatching.Builder> 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.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DenyRuleExplanation.AnnotatedPermissionMatching.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DenyRuleExplanation.AnnotatedPermissionMatching.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching.Builder
Overrides

build()

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

buildPartial()

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

clear()

public DenyRuleExplanation.AnnotatedPermissionMatching.Builder clear()
Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DenyRuleExplanation.AnnotatedPermissionMatching.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DenyRuleExplanation.AnnotatedPermissionMatching.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching.Builder
Overrides

clearPermissionMatchingState()

public DenyRuleExplanation.AnnotatedPermissionMatching.Builder clearPermissionMatchingState()

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
DenyRuleExplanation.AnnotatedPermissionMatching.Builder

This builder for chaining.

clearRelevance()

public DenyRuleExplanation.AnnotatedPermissionMatching.Builder clearRelevance()

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

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

Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching.Builder

This builder for chaining.

clone()

public DenyRuleExplanation.AnnotatedPermissionMatching.Builder clone()
Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DenyRuleExplanation.AnnotatedPermissionMatching other)

public DenyRuleExplanation.AnnotatedPermissionMatching.Builder mergeFrom(DenyRuleExplanation.AnnotatedPermissionMatching other)
Parameter
Name Description
other DenyRuleExplanation.AnnotatedPermissionMatching
Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DenyRuleExplanation.AnnotatedPermissionMatching.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DenyRuleExplanation.AnnotatedPermissionMatching.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DenyRuleExplanation.AnnotatedPermissionMatching.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DenyRuleExplanation.AnnotatedPermissionMatching.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching.Builder
Overrides

setPermissionMatchingState(PermissionPatternMatchingState value)

public DenyRuleExplanation.AnnotatedPermissionMatching.Builder setPermissionMatchingState(PermissionPatternMatchingState value)

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

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

Parameter
Name Description
value PermissionPatternMatchingState

The permissionMatchingState to set.

Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching.Builder

This builder for chaining.

setPermissionMatchingStateValue(int value)

public DenyRuleExplanation.AnnotatedPermissionMatching.Builder setPermissionMatchingStateValue(int value)

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

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

Parameter
Name Description
value int

The enum numeric value on the wire for permissionMatchingState to set.

Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching.Builder

This builder for chaining.

setRelevance(HeuristicRelevance value)

public DenyRuleExplanation.AnnotatedPermissionMatching.Builder setRelevance(HeuristicRelevance value)

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

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

Parameter
Name Description
value HeuristicRelevance

The relevance to set.

Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching.Builder

This builder for chaining.

setRelevanceValue(int value)

public DenyRuleExplanation.AnnotatedPermissionMatching.Builder setRelevanceValue(int value)

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

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

Parameter
Name Description
value int

The enum numeric value on the wire for relevance to set.

Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DenyRuleExplanation.AnnotatedPermissionMatching.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DenyRuleExplanation.AnnotatedPermissionMatching.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DenyRuleExplanation.AnnotatedPermissionMatching.Builder
Overrides