Class AllowBindingExplanation.AnnotatedAllowMembership (1.40.0)

public static final class AllowBindingExplanation.AnnotatedAllowMembership extends GeneratedMessageV3 implements AllowBindingExplanation.AnnotatedAllowMembershipOrBuilder

Details about whether the role binding includes the principal.

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

Inheritance

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

Static Fields

MEMBERSHIP_FIELD_NUMBER

public static final int MEMBERSHIP_FIELD_NUMBER
Field Value
TypeDescription
int

RELEVANCE_FIELD_NUMBER

public static final int RELEVANCE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AllowBindingExplanation.AnnotatedAllowMembership getDefaultInstance()
Returns
TypeDescription
AllowBindingExplanation.AnnotatedAllowMembership

getDescriptor()

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

newBuilder()

public static AllowBindingExplanation.AnnotatedAllowMembership.Builder newBuilder()
Returns
TypeDescription
AllowBindingExplanation.AnnotatedAllowMembership.Builder

newBuilder(AllowBindingExplanation.AnnotatedAllowMembership prototype)

public static AllowBindingExplanation.AnnotatedAllowMembership.Builder newBuilder(AllowBindingExplanation.AnnotatedAllowMembership prototype)
Parameter
NameDescription
prototypeAllowBindingExplanation.AnnotatedAllowMembership
Returns
TypeDescription
AllowBindingExplanation.AnnotatedAllowMembership.Builder

parseDelimitedFrom(InputStream input)

public static AllowBindingExplanation.AnnotatedAllowMembership parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AllowBindingExplanation.AnnotatedAllowMembership
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AllowBindingExplanation.AnnotatedAllowMembership parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AllowBindingExplanation.AnnotatedAllowMembership
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AllowBindingExplanation.AnnotatedAllowMembership parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AllowBindingExplanation.AnnotatedAllowMembership
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AllowBindingExplanation.AnnotatedAllowMembership parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AllowBindingExplanation.AnnotatedAllowMembership
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AllowBindingExplanation.AnnotatedAllowMembership parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AllowBindingExplanation.AnnotatedAllowMembership
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AllowBindingExplanation.AnnotatedAllowMembership parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AllowBindingExplanation.AnnotatedAllowMembership
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AllowBindingExplanation.AnnotatedAllowMembership parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AllowBindingExplanation.AnnotatedAllowMembership
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AllowBindingExplanation.AnnotatedAllowMembership parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AllowBindingExplanation.AnnotatedAllowMembership
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AllowBindingExplanation.AnnotatedAllowMembership parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AllowBindingExplanation.AnnotatedAllowMembership
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AllowBindingExplanation.AnnotatedAllowMembership parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AllowBindingExplanation.AnnotatedAllowMembership
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AllowBindingExplanation.AnnotatedAllowMembership parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AllowBindingExplanation.AnnotatedAllowMembership
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AllowBindingExplanation.AnnotatedAllowMembership parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AllowBindingExplanation.AnnotatedAllowMembership
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AllowBindingExplanation.AnnotatedAllowMembership> parser()
Returns
TypeDescription
Parser<AnnotatedAllowMembership>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

public Parser<AllowBindingExplanation.AnnotatedAllowMembership> getParserForType()
Returns
TypeDescription
Parser<AnnotatedAllowMembership>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AllowBindingExplanation.AnnotatedAllowMembership.Builder newBuilderForType()
Returns
TypeDescription
AllowBindingExplanation.AnnotatedAllowMembership.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AllowBindingExplanation.AnnotatedAllowMembership.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AllowBindingExplanation.AnnotatedAllowMembership.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AllowBindingExplanation.AnnotatedAllowMembership.Builder toBuilder()
Returns
TypeDescription
AllowBindingExplanation.AnnotatedAllowMembership.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException