Class Explanations.BindingExplanation.AnnotatedMembership (1.2.2)

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

Details about whether the binding includes the member.

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
TypeDescription
int

RELEVANCE_FIELD_NUMBER

public static final int RELEVANCE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Explanations.BindingExplanation.AnnotatedMembership getDefaultInstance()
Returns
TypeDescription
Explanations.BindingExplanation.AnnotatedMembership

getDescriptor()

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

newBuilder()

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

newBuilder(Explanations.BindingExplanation.AnnotatedMembership prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

getMembership()

public Explanations.BindingExplanation.Membership getMembership()

Indicates whether the binding includes the member.

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

Returns
TypeDescription
Explanations.BindingExplanation.Membership

The membership.

getMembershipValue()

public int getMembershipValue()

Indicates whether the binding includes the member.

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

Returns
TypeDescription
int

The enum numeric value on the wire for membership.

getParserForType()

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

getRelevance()

public Explanations.HeuristicRelevance getRelevance()

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

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

Returns
TypeDescription
Explanations.HeuristicRelevance

The relevance.

getRelevanceValue()

public int getRelevanceValue()

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

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

Returns
TypeDescription
int

The enum numeric value on the wire for relevance.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 Explanations.BindingExplanation.AnnotatedMembership.Builder newBuilderForType()
Returns
TypeDescription
Explanations.BindingExplanation.AnnotatedMembership.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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