public static final class DenyRuleExplanation.AnnotatedPermissionMatching.Builder extends GeneratedMessage.Builder<DenyRuleExplanation.AnnotatedPermissionMatching.Builder> implements DenyRuleExplanation.AnnotatedPermissionMatchingOrBuilderDetails about whether the permission in the request is denied by the deny rule.
Protobuf type
google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DenyRuleExplanation.AnnotatedPermissionMatching.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
getDefaultInstanceForType()
public DenyRuleExplanation.AnnotatedPermissionMatching getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DenyRuleExplanation.AnnotatedPermissionMatching |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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 |
PermissionPatternMatchingStateThe 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 |
intThe 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 |
HeuristicRelevanceThe 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 |
intThe enum numeric value on the wire for relevance to set. |
| Returns | |
|---|---|
| Type | Description |
DenyRuleExplanation.AnnotatedPermissionMatching.Builder |
This builder for chaining. |