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