Class DenyRuleExplanation.AnnotatedDenyPrincipalMatching.Builder (1.35.0)

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMembership()

public DenyRuleExplanation.AnnotatedDenyPrincipalMatching.Builder clearMembership()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DenyRuleExplanation.AnnotatedDenyPrincipalMatching.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DenyRuleExplanation.AnnotatedDenyPrincipalMatching.Builder
Overrides

clearRelevance()

public DenyRuleExplanation.AnnotatedDenyPrincipalMatching.Builder clearRelevance()

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DenyRuleExplanation.AnnotatedDenyPrincipalMatching other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMembership(MembershipMatchingState value)

public DenyRuleExplanation.AnnotatedDenyPrincipalMatching.Builder setMembership(MembershipMatchingState value)

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;

Parameter
NameDescription
valueMembershipMatchingState

The membership to set.

Returns
TypeDescription
DenyRuleExplanation.AnnotatedDenyPrincipalMatching.Builder

This builder for chaining.

setMembershipValue(int value)

public DenyRuleExplanation.AnnotatedDenyPrincipalMatching.Builder setMembershipValue(int value)

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;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
DenyRuleExplanation.AnnotatedDenyPrincipalMatching.Builder

This builder for chaining.

setRelevance(HeuristicRelevance value)

public DenyRuleExplanation.AnnotatedDenyPrincipalMatching.Builder setRelevance(HeuristicRelevance value)

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

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

Parameter
NameDescription
valueHeuristicRelevance

The relevance to set.

Returns
TypeDescription
DenyRuleExplanation.AnnotatedDenyPrincipalMatching.Builder

This builder for chaining.

setRelevanceValue(int value)

public DenyRuleExplanation.AnnotatedDenyPrincipalMatching.Builder setRelevanceValue(int value)

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

.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.AnnotatedDenyPrincipalMatching.Builder

This builder for chaining.

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

public DenyRuleExplanation.AnnotatedDenyPrincipalMatching.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DenyRuleExplanation.AnnotatedDenyPrincipalMatching.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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