Class ConditionExplanation (1.35.0)

public final class ConditionExplanation extends GeneratedMessageV3 implements ConditionExplanationOrBuilder

Explanation for how a condition affects a principal's access

Protobuf type google.cloud.policytroubleshooter.iam.v3.ConditionExplanation

Static Fields

ERRORS_FIELD_NUMBER

public static final int ERRORS_FIELD_NUMBER
Field Value
TypeDescription
int

EVALUATION_STATES_FIELD_NUMBER

public static final int EVALUATION_STATES_FIELD_NUMBER
Field Value
TypeDescription
int

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ConditionExplanation getDefaultInstance()
Returns
TypeDescription
ConditionExplanation

getDescriptor()

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

newBuilder()

public static ConditionExplanation.Builder newBuilder()
Returns
TypeDescription
ConditionExplanation.Builder

newBuilder(ConditionExplanation prototype)

public static ConditionExplanation.Builder newBuilder(ConditionExplanation prototype)
Parameter
NameDescription
prototypeConditionExplanation
Returns
TypeDescription
ConditionExplanation.Builder

parseDelimitedFrom(InputStream input)

public static ConditionExplanation parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ConditionExplanation
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ConditionExplanation parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ConditionExplanation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ConditionExplanation parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ConditionExplanation
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ConditionExplanation parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ConditionExplanation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ConditionExplanation parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ConditionExplanation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ConditionExplanation> parser()
Returns
TypeDescription
Parser<ConditionExplanation>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ConditionExplanation getDefaultInstanceForType()
Returns
TypeDescription
ConditionExplanation

getErrors(int index)

public Status getErrors(int index)

Any errors that prevented complete evaluation of the condition expression.

repeated .google.rpc.Status errors = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.Status

getErrorsCount()

public int getErrorsCount()

Any errors that prevented complete evaluation of the condition expression.

repeated .google.rpc.Status errors = 3;

Returns
TypeDescription
int

getErrorsList()

public List<Status> getErrorsList()

Any errors that prevented complete evaluation of the condition expression.

repeated .google.rpc.Status errors = 3;

Returns
TypeDescription
List<com.google.rpc.Status>

getErrorsOrBuilder(int index)

public StatusOrBuilder getErrorsOrBuilder(int index)

Any errors that prevented complete evaluation of the condition expression.

repeated .google.rpc.Status errors = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getErrorsOrBuilderList()

public List<? extends StatusOrBuilder> getErrorsOrBuilderList()

Any errors that prevented complete evaluation of the condition expression.

repeated .google.rpc.Status errors = 3;

Returns
TypeDescription
List<? extends com.google.rpc.StatusOrBuilder>

getEvaluationStates(int index)

public ConditionExplanation.EvaluationState getEvaluationStates(int index)

The value of each statement of the condition expression. The value can be true, false, or null. The value is null if the statement can't be evaluated.

repeated .google.cloud.policytroubleshooter.iam.v3.ConditionExplanation.EvaluationState evaluation_states = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
ConditionExplanation.EvaluationState

getEvaluationStatesCount()

public int getEvaluationStatesCount()

The value of each statement of the condition expression. The value can be true, false, or null. The value is null if the statement can't be evaluated.

repeated .google.cloud.policytroubleshooter.iam.v3.ConditionExplanation.EvaluationState evaluation_states = 2;

Returns
TypeDescription
int

getEvaluationStatesList()

public List<ConditionExplanation.EvaluationState> getEvaluationStatesList()

The value of each statement of the condition expression. The value can be true, false, or null. The value is null if the statement can't be evaluated.

repeated .google.cloud.policytroubleshooter.iam.v3.ConditionExplanation.EvaluationState evaluation_states = 2;

Returns
TypeDescription
List<EvaluationState>

getEvaluationStatesOrBuilder(int index)

public ConditionExplanation.EvaluationStateOrBuilder getEvaluationStatesOrBuilder(int index)

The value of each statement of the condition expression. The value can be true, false, or null. The value is null if the statement can't be evaluated.

repeated .google.cloud.policytroubleshooter.iam.v3.ConditionExplanation.EvaluationState evaluation_states = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
ConditionExplanation.EvaluationStateOrBuilder

getEvaluationStatesOrBuilderList()

public List<? extends ConditionExplanation.EvaluationStateOrBuilder> getEvaluationStatesOrBuilderList()

The value of each statement of the condition expression. The value can be true, false, or null. The value is null if the statement can't be evaluated.

repeated .google.cloud.policytroubleshooter.iam.v3.ConditionExplanation.EvaluationState evaluation_states = 2;

Returns
TypeDescription
List<? extends com.google.cloud.policytroubleshooter.iam.v3.ConditionExplanation.EvaluationStateOrBuilder>

getParserForType()

public Parser<ConditionExplanation> getParserForType()
Returns
TypeDescription
Parser<ConditionExplanation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getValue()

public Value getValue()

Value of the condition.

.google.protobuf.Value value = 1;

Returns
TypeDescription
Value

The value.

getValueOrBuilder()

public ValueOrBuilder getValueOrBuilder()

Value of the condition.

.google.protobuf.Value value = 1;

Returns
TypeDescription
ValueOrBuilder

hasValue()

public boolean hasValue()

Value of the condition.

.google.protobuf.Value value = 1;

Returns
TypeDescription
boolean

Whether the value field is set.

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 ConditionExplanation.Builder newBuilderForType()
Returns
TypeDescription
ConditionExplanation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ConditionExplanation.Builder toBuilder()
Returns
TypeDescription
ConditionExplanation.Builder

writeTo(CodedOutputStream output)

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