public static final class Explanations.BindingExplanation.AnnotatedMembership.Builder extends GeneratedMessageV3.Builder<Explanations.BindingExplanation.AnnotatedMembership.Builder> implements Explanations.BindingExplanation.AnnotatedMembershipOrBuilder
Details about whether the binding includes the member.
Protobuf type
google.cloud.policytroubleshooter.v1.BindingExplanation.AnnotatedMembership
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Explanations.BindingExplanation.AnnotatedMembership.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Explanations.BindingExplanation.AnnotatedMembership build()
Returns
buildPartial()
public Explanations.BindingExplanation.AnnotatedMembership buildPartial()
Returns
clear()
public Explanations.BindingExplanation.AnnotatedMembership.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Explanations.BindingExplanation.AnnotatedMembership.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMembership()
public Explanations.BindingExplanation.AnnotatedMembership.Builder clearMembership()
Indicates whether the binding includes the member.
.google.cloud.policytroubleshooter.v1.BindingExplanation.Membership membership = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Explanations.BindingExplanation.AnnotatedMembership.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearRelevance()
public Explanations.BindingExplanation.AnnotatedMembership.Builder clearRelevance()
The relevance of the member's status to the overall determination for the
binding.
.google.cloud.policytroubleshooter.v1.HeuristicRelevance relevance = 2;
Returns
clone()
public Explanations.BindingExplanation.AnnotatedMembership.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Explanations.BindingExplanation.AnnotatedMembership getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getMembership()
public Explanations.BindingExplanation.Membership getMembership()
Indicates whether the binding includes the member.
.google.cloud.policytroubleshooter.v1.BindingExplanation.Membership membership = 1;
Returns
getMembershipValue()
public int getMembershipValue()
Indicates whether the binding includes the member.
.google.cloud.policytroubleshooter.v1.BindingExplanation.Membership membership = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for membership.
|
getRelevance()
public Explanations.HeuristicRelevance getRelevance()
The relevance of the member's status to the overall determination for the
binding.
.google.cloud.policytroubleshooter.v1.HeuristicRelevance relevance = 2;
Returns
getRelevanceValue()
public int getRelevanceValue()
The relevance of the member's status to the overall determination for the
binding.
.google.cloud.policytroubleshooter.v1.HeuristicRelevance relevance = 2;
Returns
Type | Description |
int | The enum numeric value on the wire for relevance.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public Explanations.BindingExplanation.AnnotatedMembership.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Explanations.BindingExplanation.AnnotatedMembership.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(Explanations.BindingExplanation.AnnotatedMembership other)
public Explanations.BindingExplanation.AnnotatedMembership.Builder mergeFrom(Explanations.BindingExplanation.AnnotatedMembership other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Explanations.BindingExplanation.AnnotatedMembership.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Explanations.BindingExplanation.AnnotatedMembership.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setMembership(Explanations.BindingExplanation.Membership value)
public Explanations.BindingExplanation.AnnotatedMembership.Builder setMembership(Explanations.BindingExplanation.Membership value)
Indicates whether the binding includes the member.
.google.cloud.policytroubleshooter.v1.BindingExplanation.Membership membership = 1;
Parameter
Returns
setMembershipValue(int value)
public Explanations.BindingExplanation.AnnotatedMembership.Builder setMembershipValue(int value)
Indicates whether the binding includes the member.
.google.cloud.policytroubleshooter.v1.BindingExplanation.Membership membership = 1;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for membership to set.
|
Returns
setRelevance(Explanations.HeuristicRelevance value)
public Explanations.BindingExplanation.AnnotatedMembership.Builder setRelevance(Explanations.HeuristicRelevance value)
The relevance of the member's status to the overall determination for the
binding.
.google.cloud.policytroubleshooter.v1.HeuristicRelevance relevance = 2;
Parameter
Returns
setRelevanceValue(int value)
public Explanations.BindingExplanation.AnnotatedMembership.Builder setRelevanceValue(int value)
The relevance of the member's status to the overall determination for the
binding.
.google.cloud.policytroubleshooter.v1.HeuristicRelevance relevance = 2;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for relevance to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Explanations.BindingExplanation.AnnotatedMembership.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Explanations.BindingExplanation.AnnotatedMembership.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides