Class DenyRuleExplanation.AnnotatedPermissionMatching.Builder (1.34.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DenyRuleExplanation.AnnotatedPermissionMatching.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DenyRuleExplanation.AnnotatedPermissionMatching.Builder
Overrides

build()

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

buildPartial()

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

clear()

public DenyRuleExplanation.AnnotatedPermissionMatching.Builder clear()
Returns
TypeDescription
DenyRuleExplanation.AnnotatedPermissionMatching.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DenyRuleExplanation.AnnotatedPermissionMatching.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DenyRuleExplanation.AnnotatedPermissionMatching.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DenyRuleExplanation.AnnotatedPermissionMatching.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DenyRuleExplanation.AnnotatedPermissionMatching.Builder

This builder for chaining.

clone()

public DenyRuleExplanation.AnnotatedPermissionMatching.Builder clone()
Returns
TypeDescription
DenyRuleExplanation.AnnotatedPermissionMatching.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DenyRuleExplanation.AnnotatedPermissionMatching other)

public DenyRuleExplanation.AnnotatedPermissionMatching.Builder mergeFrom(DenyRuleExplanation.AnnotatedPermissionMatching other)
Parameter
NameDescription
otherDenyRuleExplanation.AnnotatedPermissionMatching
Returns
TypeDescription
DenyRuleExplanation.AnnotatedPermissionMatching.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DenyRuleExplanation.AnnotatedPermissionMatching.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DenyRuleExplanation.AnnotatedPermissionMatching.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DenyRuleExplanation.AnnotatedPermissionMatching.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DenyRuleExplanation.AnnotatedPermissionMatching.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DenyRuleExplanation.AnnotatedPermissionMatching.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DenyRuleExplanation.AnnotatedPermissionMatching.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DenyRuleExplanation.AnnotatedPermissionMatching.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuePermissionPatternMatchingState

The permissionMatchingState to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueHeuristicRelevance

The relevance to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DenyRuleExplanation.AnnotatedPermissionMatching.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DenyRuleExplanation.AnnotatedPermissionMatching.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DenyRuleExplanation.AnnotatedPermissionMatching.Builder
Overrides