Class BindingExplanation.AnnotatedMembership (0.7.0)

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

Details about whether the binding includes the principal.

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

Inheritance

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

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 BindingExplanation.AnnotatedMembership getDefaultInstance()
Returns
TypeDescription
BindingExplanation.AnnotatedMembership

getDescriptor()

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

newBuilder()

public static BindingExplanation.AnnotatedMembership.Builder newBuilder()
Returns
TypeDescription
BindingExplanation.AnnotatedMembership.Builder

newBuilder(BindingExplanation.AnnotatedMembership prototype)

public static BindingExplanation.AnnotatedMembership.Builder newBuilder(BindingExplanation.AnnotatedMembership prototype)
Parameter
NameDescription
prototypeBindingExplanation.AnnotatedMembership
Returns
TypeDescription
BindingExplanation.AnnotatedMembership.Builder

parseDelimitedFrom(InputStream input)

public static BindingExplanation.AnnotatedMembership parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BindingExplanation.AnnotatedMembership
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static BindingExplanation.AnnotatedMembership parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BindingExplanation.AnnotatedMembership
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static BindingExplanation.AnnotatedMembership parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BindingExplanation.AnnotatedMembership
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static BindingExplanation.AnnotatedMembership parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BindingExplanation.AnnotatedMembership
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static BindingExplanation.AnnotatedMembership parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BindingExplanation.AnnotatedMembership
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<BindingExplanation.AnnotatedMembership> parser()
Returns
TypeDescription
Parser<AnnotatedMembership>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getMembership()

public BindingExplanation.Membership getMembership()

Indicates whether the binding includes the principal.

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

Returns
TypeDescription
BindingExplanation.Membership

The membership.

getMembershipValue()

public int getMembershipValue()

Indicates whether the binding includes the principal.

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

Returns
TypeDescription
int

The enum numeric value on the wire for membership.

getParserForType()

public Parser<BindingExplanation.AnnotatedMembership> getParserForType()
Returns
TypeDescription
Parser<AnnotatedMembership>
Overrides

getRelevance()

public HeuristicRelevance getRelevance()

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

.google.cloud.policysimulator.v1.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 binding.

.google.cloud.policysimulator.v1.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 BindingExplanation.AnnotatedMembership.Builder newBuilderForType()
Returns
TypeDescription
BindingExplanation.AnnotatedMembership.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BindingExplanation.AnnotatedMembership.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BindingExplanation.AnnotatedMembership.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public BindingExplanation.AnnotatedMembership.Builder toBuilder()
Returns
TypeDescription
BindingExplanation.AnnotatedMembership.Builder

writeTo(CodedOutputStream output)

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