Class ConditionExplanation (1.50.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
Type Description
int

EVALUATION_STATES_FIELD_NUMBER

public static final int EVALUATION_STATES_FIELD_NUMBER
Field Value
Type Description
int

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ConditionExplanation getDefaultInstance()
Returns
Type Description
ConditionExplanation

getDescriptor()

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

newBuilder()

public static ConditionExplanation.Builder newBuilder()
Returns
Type Description
ConditionExplanation.Builder

newBuilder(ConditionExplanation prototype)

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

parseDelimitedFrom(InputStream input)

public static ConditionExplanation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ConditionExplanation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ConditionExplanation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ConditionExplanation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ConditionExplanation parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ConditionExplanation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ConditionExplanation parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ConditionExplanation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ConditionExplanation parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ConditionExplanation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ConditionExplanation> parser()
Returns
Type Description
Parser<ConditionExplanation>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ConditionExplanation getDefaultInstanceForType()
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
int

getErrorsList()

public List<Status> getErrorsList()

Any errors that prevented complete evaluation of the condition expression.

repeated .google.rpc.Status errors = 3;

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.policytroubleshooter.iam.v3.ConditionExplanation.EvaluationStateOrBuilder>

getParserForType()

public Parser<ConditionExplanation> getParserForType()
Returns
Type Description
Parser<ConditionExplanation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getValue()

public Value getValue()

Value of the condition.

.google.protobuf.Value value = 1;

Returns
Type Description
Value

The value.

getValueOrBuilder()

public ValueOrBuilder getValueOrBuilder()

Value of the condition.

.google.protobuf.Value value = 1;

Returns
Type Description
ValueOrBuilder

hasValue()

public boolean hasValue()

Value of the condition.

.google.protobuf.Value value = 1;

Returns
Type Description
boolean

Whether the value field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ConditionExplanation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ConditionExplanation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ConditionExplanation.Builder toBuilder()
Returns
Type Description
ConditionExplanation.Builder

writeTo(CodedOutputStream output)

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