public static final class AllowBindingExplanation.AnnotatedAllowMembership.Builder extends GeneratedMessage.Builder<AllowBindingExplanation.AnnotatedAllowMembership.Builder> implements AllowBindingExplanation.AnnotatedAllowMembershipOrBuilderDetails about whether the role binding includes the principal.
Protobuf type
google.cloud.policytroubleshooter.iam.v3.AllowBindingExplanation.AnnotatedAllowMembership
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AllowBindingExplanation.AnnotatedAllowMembership.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AllowBindingExplanation.AnnotatedAllowMembership build()| Returns | |
|---|---|
| Type | Description |
AllowBindingExplanation.AnnotatedAllowMembership |
|
buildPartial()
public AllowBindingExplanation.AnnotatedAllowMembership buildPartial()| Returns | |
|---|---|
| Type | Description |
AllowBindingExplanation.AnnotatedAllowMembership |
|
clear()
public AllowBindingExplanation.AnnotatedAllowMembership.Builder clear()| Returns | |
|---|---|
| Type | Description |
AllowBindingExplanation.AnnotatedAllowMembership.Builder |
|
clearMembership()
public AllowBindingExplanation.AnnotatedAllowMembership.Builder clearMembership()Indicates whether the role binding includes the principal.
.google.cloud.policytroubleshooter.iam.v3.MembershipMatchingState membership = 1;
| Returns | |
|---|---|
| Type | Description |
AllowBindingExplanation.AnnotatedAllowMembership.Builder |
This builder for chaining. |
clearRelevance()
public AllowBindingExplanation.AnnotatedAllowMembership.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 | |
|---|---|
| Type | Description |
AllowBindingExplanation.AnnotatedAllowMembership.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public AllowBindingExplanation.AnnotatedAllowMembership getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AllowBindingExplanation.AnnotatedAllowMembership |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMembership()
public MembershipMatchingState getMembership()Indicates whether the role binding includes the principal.
.google.cloud.policytroubleshooter.iam.v3.MembershipMatchingState membership = 1;
| Returns | |
|---|---|
| Type | Description |
MembershipMatchingState |
The membership. |
getMembershipValue()
public int getMembershipValue()Indicates whether the role binding includes the principal.
.google.cloud.policytroubleshooter.iam.v3.MembershipMatchingState membership = 1;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| 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(AllowBindingExplanation.AnnotatedAllowMembership other)
public AllowBindingExplanation.AnnotatedAllowMembership.Builder mergeFrom(AllowBindingExplanation.AnnotatedAllowMembership other)| Parameter | |
|---|---|
| Name | Description |
other |
AllowBindingExplanation.AnnotatedAllowMembership |
| Returns | |
|---|---|
| Type | Description |
AllowBindingExplanation.AnnotatedAllowMembership.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AllowBindingExplanation.AnnotatedAllowMembership.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AllowBindingExplanation.AnnotatedAllowMembership.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AllowBindingExplanation.AnnotatedAllowMembership.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AllowBindingExplanation.AnnotatedAllowMembership.Builder |
|
setMembership(MembershipMatchingState value)
public AllowBindingExplanation.AnnotatedAllowMembership.Builder setMembership(MembershipMatchingState value)Indicates whether the role binding includes the principal.
.google.cloud.policytroubleshooter.iam.v3.MembershipMatchingState membership = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
MembershipMatchingStateThe membership to set. |
| Returns | |
|---|---|
| Type | Description |
AllowBindingExplanation.AnnotatedAllowMembership.Builder |
This builder for chaining. |
setMembershipValue(int value)
public AllowBindingExplanation.AnnotatedAllowMembership.Builder setMembershipValue(int value)Indicates whether the role binding includes the principal.
.google.cloud.policytroubleshooter.iam.v3.MembershipMatchingState membership = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for membership to set. |
| Returns | |
|---|---|
| Type | Description |
AllowBindingExplanation.AnnotatedAllowMembership.Builder |
This builder for chaining. |
setRelevance(HeuristicRelevance value)
public AllowBindingExplanation.AnnotatedAllowMembership.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 | |
|---|---|
| Name | Description |
value |
HeuristicRelevanceThe relevance to set. |
| Returns | |
|---|---|
| Type | Description |
AllowBindingExplanation.AnnotatedAllowMembership.Builder |
This builder for chaining. |
setRelevanceValue(int value)
public AllowBindingExplanation.AnnotatedAllowMembership.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 | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for relevance to set. |
| Returns | |
|---|---|
| Type | Description |
AllowBindingExplanation.AnnotatedAllowMembership.Builder |
This builder for chaining. |