Class AllowBindingExplanation.AnnotatedAllowMembership.Builder (1.35.0)

public static final class AllowBindingExplanation.AnnotatedAllowMembership.Builder extends GeneratedMessageV3.Builder<AllowBindingExplanation.AnnotatedAllowMembership.Builder> implements AllowBindingExplanation.AnnotatedAllowMembershipOrBuilder

Details about whether the role binding includes the principal.

Protobuf type google.cloud.policytroubleshooter.iam.v3.AllowBindingExplanation.AnnotatedAllowMembership

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AllowBindingExplanation.AnnotatedAllowMembership.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AllowBindingExplanation.AnnotatedAllowMembership.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AllowBindingExplanation.AnnotatedAllowMembership.Builder
Overrides

build()

public AllowBindingExplanation.AnnotatedAllowMembership build()
Returns
TypeDescription
AllowBindingExplanation.AnnotatedAllowMembership

buildPartial()

public AllowBindingExplanation.AnnotatedAllowMembership buildPartial()
Returns
TypeDescription
AllowBindingExplanation.AnnotatedAllowMembership

clear()

public AllowBindingExplanation.AnnotatedAllowMembership.Builder clear()
Returns
TypeDescription
AllowBindingExplanation.AnnotatedAllowMembership.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AllowBindingExplanation.AnnotatedAllowMembership.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AllowBindingExplanation.AnnotatedAllowMembership.Builder
Overrides

clearMembership()

public AllowBindingExplanation.AnnotatedAllowMembership.Builder clearMembership()

Indicates whether the role binding includes the principal.

.google.cloud.policytroubleshooter.iam.v3.MembershipMatchingState membership = 1;

Returns
TypeDescription
AllowBindingExplanation.AnnotatedAllowMembership.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AllowBindingExplanation.AnnotatedAllowMembership.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AllowBindingExplanation.AnnotatedAllowMembership.Builder
Overrides

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
TypeDescription
AllowBindingExplanation.AnnotatedAllowMembership.Builder

This builder for chaining.

clone()

public AllowBindingExplanation.AnnotatedAllowMembership.Builder clone()
Returns
TypeDescription
AllowBindingExplanation.AnnotatedAllowMembership.Builder
Overrides

getDefaultInstanceForType()

public AllowBindingExplanation.AnnotatedAllowMembership getDefaultInstanceForType()
Returns
TypeDescription
AllowBindingExplanation.AnnotatedAllowMembership

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMembership()

public MembershipMatchingState getMembership()

Indicates whether the role binding includes the principal.

.google.cloud.policytroubleshooter.iam.v3.MembershipMatchingState membership = 1;

Returns
TypeDescription
MembershipMatchingState

The membership.

getMembershipValue()

public int getMembershipValue()

Indicates whether the role binding includes the principal.

.google.cloud.policytroubleshooter.iam.v3.MembershipMatchingState membership = 1;

Returns
TypeDescription
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
TypeDescription
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
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(AllowBindingExplanation.AnnotatedAllowMembership other)

public AllowBindingExplanation.AnnotatedAllowMembership.Builder mergeFrom(AllowBindingExplanation.AnnotatedAllowMembership other)
Parameter
NameDescription
otherAllowBindingExplanation.AnnotatedAllowMembership
Returns
TypeDescription
AllowBindingExplanation.AnnotatedAllowMembership.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AllowBindingExplanation.AnnotatedAllowMembership.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AllowBindingExplanation.AnnotatedAllowMembership.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AllowBindingExplanation.AnnotatedAllowMembership.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AllowBindingExplanation.AnnotatedAllowMembership.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AllowBindingExplanation.AnnotatedAllowMembership.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AllowBindingExplanation.AnnotatedAllowMembership.Builder
Overrides

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

The membership to set.

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

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

Returns
TypeDescription
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
NameDescription
valueHeuristicRelevance

The relevance to set.

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

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

Returns
TypeDescription
AllowBindingExplanation.AnnotatedAllowMembership.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final AllowBindingExplanation.AnnotatedAllowMembership.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AllowBindingExplanation.AnnotatedAllowMembership.Builder
Overrides