Class BindingExplanation.AnnotatedMembership (0.21.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
Type Description
int

RELEVANCE_FIELD_NUMBER

public static final int RELEVANCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(BindingExplanation.AnnotatedMembership prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<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 BindingExplanation.AnnotatedMembership getDefaultInstanceForType()
Returns
Type Description
BindingExplanation.AnnotatedMembership

getMembership()

public BindingExplanation.Membership getMembership()

Indicates whether the binding includes the principal.

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

Returns
Type Description
BindingExplanation.Membership

The membership.

getMembershipValue()

public int getMembershipValue()

Indicates whether the binding includes the principal.

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

Returns
Type Description
int

The enum numeric value on the wire for membership.

getParserForType()

public Parser<BindingExplanation.AnnotatedMembership> getParserForType()
Returns
Type Description
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
Type Description
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
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 BindingExplanation.AnnotatedMembership.Builder newBuilderForType()
Returns
Type Description
BindingExplanation.AnnotatedMembership.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BindingExplanation.AnnotatedMembership.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
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 BindingExplanation.AnnotatedMembership.Builder toBuilder()
Returns
Type Description
BindingExplanation.AnnotatedMembership.Builder

writeTo(CodedOutputStream output)

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