Class Explanations.BindingExplanation.AnnotatedMembership (1.45.0)

public static final class Explanations.BindingExplanation.AnnotatedMembership extends GeneratedMessageV3 implements Explanations.BindingExplanation.AnnotatedMembershipOrBuilder

Details about whether the binding includes the principal.

Protobuf type google.cloud.policytroubleshooter.v1.BindingExplanation.AnnotatedMembership

Inheritance

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

Static Fields

MEMBERSHIP_FIELD_NUMBER

public static final int MEMBERSHIP_FIELD_NUMBER
Field Value
Type Description
int

RELEVANCE_FIELD_NUMBER

public static final int RELEVANCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Explanations.BindingExplanation.AnnotatedMembership getDefaultInstance()
Returns
Type Description
Explanations.BindingExplanation.AnnotatedMembership

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Explanations.BindingExplanation.AnnotatedMembership.Builder newBuilder()
Returns
Type Description
Explanations.BindingExplanation.AnnotatedMembership.Builder

newBuilder(Explanations.BindingExplanation.AnnotatedMembership prototype)

public static Explanations.BindingExplanation.AnnotatedMembership.Builder newBuilder(Explanations.BindingExplanation.AnnotatedMembership prototype)
Parameter
Name Description
prototype Explanations.BindingExplanation.AnnotatedMembership
Returns
Type Description
Explanations.BindingExplanation.AnnotatedMembership.Builder

parseDelimitedFrom(InputStream input)

public static Explanations.BindingExplanation.AnnotatedMembership parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Explanations.BindingExplanation.AnnotatedMembership
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Explanations.BindingExplanation.AnnotatedMembership parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Explanations.BindingExplanation.AnnotatedMembership
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Explanations.BindingExplanation.AnnotatedMembership parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Explanations.BindingExplanation.AnnotatedMembership
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Explanations.BindingExplanation.AnnotatedMembership parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Explanations.BindingExplanation.AnnotatedMembership
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Explanations.BindingExplanation.AnnotatedMembership parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Explanations.BindingExplanation.AnnotatedMembership
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Explanations.BindingExplanation.AnnotatedMembership parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Explanations.BindingExplanation.AnnotatedMembership
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Explanations.BindingExplanation.AnnotatedMembership parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Explanations.BindingExplanation.AnnotatedMembership
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Explanations.BindingExplanation.AnnotatedMembership parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Explanations.BindingExplanation.AnnotatedMembership
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Explanations.BindingExplanation.AnnotatedMembership parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Explanations.BindingExplanation.AnnotatedMembership
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Explanations.BindingExplanation.AnnotatedMembership parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Explanations.BindingExplanation.AnnotatedMembership
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Explanations.BindingExplanation.AnnotatedMembership parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Explanations.BindingExplanation.AnnotatedMembership
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Explanations.BindingExplanation.AnnotatedMembership parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Explanations.BindingExplanation.AnnotatedMembership
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Explanations.BindingExplanation.AnnotatedMembership> parser()
Returns
Type Description
Parser<AnnotatedMembership>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Explanations.BindingExplanation.AnnotatedMembership getDefaultInstanceForType()
Returns
Type Description
Explanations.BindingExplanation.AnnotatedMembership

getMembership()

public Explanations.BindingExplanation.Membership getMembership()

Indicates whether the binding includes the principal.

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

Returns
Type Description
Explanations.BindingExplanation.Membership

The membership.

getMembershipValue()

public int getMembershipValue()

Indicates whether the binding includes the principal.

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

Returns
Type Description
int

The enum numeric value on the wire for membership.

getParserForType()

public Parser<Explanations.BindingExplanation.AnnotatedMembership> getParserForType()
Returns
Type Description
Parser<AnnotatedMembership>
Overrides

getRelevance()

public Explanations.HeuristicRelevance getRelevance()

The relevance of the principal's status to the overall determination for the binding.

.google.cloud.policytroubleshooter.v1.HeuristicRelevance relevance = 2;

Returns
Type Description
Explanations.HeuristicRelevance

The relevance.

getRelevanceValue()

public int getRelevanceValue()

The relevance of the principal'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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Explanations.BindingExplanation.AnnotatedMembership.Builder newBuilderForType()
Returns
Type Description
Explanations.BindingExplanation.AnnotatedMembership.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Explanations.BindingExplanation.AnnotatedMembership.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Explanations.BindingExplanation.AnnotatedMembership.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Explanations.BindingExplanation.AnnotatedMembership.Builder toBuilder()
Returns
Type Description
Explanations.BindingExplanation.AnnotatedMembership.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException