Class Explanations.BindingExplanation.AnnotatedMembership.Builder (1.3.0)

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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Explanations.BindingExplanation.AnnotatedMembership.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Explanations.BindingExplanation.AnnotatedMembership.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Explanations.BindingExplanation.AnnotatedMembership.Builder
Overrides

build()

public Explanations.BindingExplanation.AnnotatedMembership build()
Returns
TypeDescription
Explanations.BindingExplanation.AnnotatedMembership

buildPartial()

public Explanations.BindingExplanation.AnnotatedMembership buildPartial()
Returns
TypeDescription
Explanations.BindingExplanation.AnnotatedMembership

clear()

public Explanations.BindingExplanation.AnnotatedMembership.Builder clear()
Returns
TypeDescription
Explanations.BindingExplanation.AnnotatedMembership.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Explanations.BindingExplanation.AnnotatedMembership.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Explanations.BindingExplanation.AnnotatedMembership.Builder
Overrides

clearMembership()

public Explanations.BindingExplanation.AnnotatedMembership.Builder clearMembership()

Indicates whether the binding includes the member.

.google.cloud.policytroubleshooter.v1.BindingExplanation.Membership membership = 1;

Returns
TypeDescription
Explanations.BindingExplanation.AnnotatedMembership.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Explanations.BindingExplanation.AnnotatedMembership.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Explanations.BindingExplanation.AnnotatedMembership.Builder
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
TypeDescription
Explanations.BindingExplanation.AnnotatedMembership.Builder

This builder for chaining.

clone()

public Explanations.BindingExplanation.AnnotatedMembership.Builder clone()
Returns
TypeDescription
Explanations.BindingExplanation.AnnotatedMembership.Builder
Overrides

getDefaultInstanceForType()

public Explanations.BindingExplanation.AnnotatedMembership getDefaultInstanceForType()
Returns
TypeDescription
Explanations.BindingExplanation.AnnotatedMembership

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMembership()

public Explanations.BindingExplanation.Membership getMembership()

Indicates whether the binding includes the member.

.google.cloud.policytroubleshooter.v1.BindingExplanation.Membership membership = 1;

Returns
TypeDescription
Explanations.BindingExplanation.Membership

The membership.

getMembershipValue()

public int getMembershipValue()

Indicates whether the binding includes the member.

.google.cloud.policytroubleshooter.v1.BindingExplanation.Membership membership = 1;

Returns
TypeDescription
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
TypeDescription
Explanations.HeuristicRelevance

The relevance.

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
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(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Explanations.BindingExplanation.AnnotatedMembership.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Explanations.BindingExplanation.AnnotatedMembership.Builder
Overrides

mergeFrom(Explanations.BindingExplanation.AnnotatedMembership other)

public Explanations.BindingExplanation.AnnotatedMembership.Builder mergeFrom(Explanations.BindingExplanation.AnnotatedMembership other)
Parameter
NameDescription
otherExplanations.BindingExplanation.AnnotatedMembership
Returns
TypeDescription
Explanations.BindingExplanation.AnnotatedMembership.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Explanations.BindingExplanation.AnnotatedMembership.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Explanations.BindingExplanation.AnnotatedMembership.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Explanations.BindingExplanation.AnnotatedMembership.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Explanations.BindingExplanation.AnnotatedMembership.Builder
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
NameDescription
valueExplanations.BindingExplanation.Membership

The membership to set.

Returns
TypeDescription
Explanations.BindingExplanation.AnnotatedMembership.Builder

This builder for chaining.

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
NameDescription
valueint

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

Returns
TypeDescription
Explanations.BindingExplanation.AnnotatedMembership.Builder

This builder for chaining.

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
NameDescription
valueExplanations.HeuristicRelevance

The relevance to set.

Returns
TypeDescription
Explanations.BindingExplanation.AnnotatedMembership.Builder

This builder for chaining.

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
NameDescription
valueint

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

Returns
TypeDescription
Explanations.BindingExplanation.AnnotatedMembership.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final Explanations.BindingExplanation.AnnotatedMembership.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Explanations.BindingExplanation.AnnotatedMembership.Builder
Overrides