Class ConditionExplanation.Builder (1.41.0)

public static final class ConditionExplanation.Builder extends GeneratedMessageV3.Builder<ConditionExplanation.Builder> implements ConditionExplanationOrBuilder

Explanation for how a condition affects a principal's access

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

Static Methods

getDescriptor()

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

Methods

addAllErrors(Iterable<? extends Status> values)

public ConditionExplanation.Builder addAllErrors(Iterable<? extends Status> values)

Any errors that prevented complete evaluation of the condition expression.

repeated .google.rpc.Status errors = 3;

Parameter
Name Description
values Iterable<? extends com.google.rpc.Status>
Returns
Type Description
ConditionExplanation.Builder

addAllEvaluationStates(Iterable<? extends ConditionExplanation.EvaluationState> values)

public ConditionExplanation.Builder addAllEvaluationStates(Iterable<? extends ConditionExplanation.EvaluationState> values)

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
values Iterable<? extends com.google.cloud.policytroubleshooter.iam.v3.ConditionExplanation.EvaluationState>
Returns
Type Description
ConditionExplanation.Builder

addErrors(Status value)

public ConditionExplanation.Builder addErrors(Status value)

Any errors that prevented complete evaluation of the condition expression.

repeated .google.rpc.Status errors = 3;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
ConditionExplanation.Builder

addErrors(Status.Builder builderForValue)

public ConditionExplanation.Builder addErrors(Status.Builder builderForValue)

Any errors that prevented complete evaluation of the condition expression.

repeated .google.rpc.Status errors = 3;

Parameter
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
ConditionExplanation.Builder

addErrors(int index, Status value)

public ConditionExplanation.Builder addErrors(int index, Status value)

Any errors that prevented complete evaluation of the condition expression.

repeated .google.rpc.Status errors = 3;

Parameters
Name Description
index int
value com.google.rpc.Status
Returns
Type Description
ConditionExplanation.Builder

addErrors(int index, Status.Builder builderForValue)

public ConditionExplanation.Builder addErrors(int index, Status.Builder builderForValue)

Any errors that prevented complete evaluation of the condition expression.

repeated .google.rpc.Status errors = 3;

Parameters
Name Description
index int
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
ConditionExplanation.Builder

addErrorsBuilder()

public Status.Builder addErrorsBuilder()

Any errors that prevented complete evaluation of the condition expression.

repeated .google.rpc.Status errors = 3;

Returns
Type Description
com.google.rpc.Status.Builder

addErrorsBuilder(int index)

public Status.Builder addErrorsBuilder(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.Builder

addEvaluationStates(ConditionExplanation.EvaluationState value)

public ConditionExplanation.Builder addEvaluationStates(ConditionExplanation.EvaluationState value)

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
value ConditionExplanation.EvaluationState
Returns
Type Description
ConditionExplanation.Builder

addEvaluationStates(ConditionExplanation.EvaluationState.Builder builderForValue)

public ConditionExplanation.Builder addEvaluationStates(ConditionExplanation.EvaluationState.Builder builderForValue)

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
builderForValue ConditionExplanation.EvaluationState.Builder
Returns
Type Description
ConditionExplanation.Builder

addEvaluationStates(int index, ConditionExplanation.EvaluationState value)

public ConditionExplanation.Builder addEvaluationStates(int index, ConditionExplanation.EvaluationState value)

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;

Parameters
Name Description
index int
value ConditionExplanation.EvaluationState
Returns
Type Description
ConditionExplanation.Builder

addEvaluationStates(int index, ConditionExplanation.EvaluationState.Builder builderForValue)

public ConditionExplanation.Builder addEvaluationStates(int index, ConditionExplanation.EvaluationState.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue ConditionExplanation.EvaluationState.Builder
Returns
Type Description
ConditionExplanation.Builder

addEvaluationStatesBuilder()

public ConditionExplanation.EvaluationState.Builder addEvaluationStatesBuilder()

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
ConditionExplanation.EvaluationState.Builder

addEvaluationStatesBuilder(int index)

public ConditionExplanation.EvaluationState.Builder addEvaluationStatesBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ConditionExplanation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ConditionExplanation.Builder
Overrides

build()

public ConditionExplanation build()
Returns
Type Description
ConditionExplanation

buildPartial()

public ConditionExplanation buildPartial()
Returns
Type Description
ConditionExplanation

clear()

public ConditionExplanation.Builder clear()
Returns
Type Description
ConditionExplanation.Builder
Overrides

clearErrors()

public ConditionExplanation.Builder clearErrors()

Any errors that prevented complete evaluation of the condition expression.

repeated .google.rpc.Status errors = 3;

Returns
Type Description
ConditionExplanation.Builder

clearEvaluationStates()

public ConditionExplanation.Builder clearEvaluationStates()

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
ConditionExplanation.Builder

clearField(Descriptors.FieldDescriptor field)

public ConditionExplanation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ConditionExplanation.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ConditionExplanation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ConditionExplanation.Builder
Overrides

clearValue()

public ConditionExplanation.Builder clearValue()

Value of the condition.

.google.protobuf.Value value = 1;

Returns
Type Description
ConditionExplanation.Builder

clone()

public ConditionExplanation.Builder clone()
Returns
Type Description
ConditionExplanation.Builder
Overrides

getDefaultInstanceForType()

public ConditionExplanation getDefaultInstanceForType()
Returns
Type Description
ConditionExplanation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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

getErrorsBuilder(int index)

public Status.Builder getErrorsBuilder(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.Builder

getErrorsBuilderList()

public List<Status.Builder> getErrorsBuilderList()

Any errors that prevented complete evaluation of the condition expression.

repeated .google.rpc.Status errors = 3;

Returns
Type Description
List<com.google.rpc.Status.Builder>

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

getEvaluationStatesBuilder(int index)

public ConditionExplanation.EvaluationState.Builder getEvaluationStatesBuilder(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.Builder

getEvaluationStatesBuilderList()

public List<ConditionExplanation.EvaluationState.Builder> getEvaluationStatesBuilderList()

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<Builder>

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>

getValue()

public Value getValue()

Value of the condition.

.google.protobuf.Value value = 1;

Returns
Type Description
Value

The value.

getValueBuilder()

public Value.Builder getValueBuilder()

Value of the condition.

.google.protobuf.Value value = 1;

Returns
Type Description
Builder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ConditionExplanation other)

public ConditionExplanation.Builder mergeFrom(ConditionExplanation other)
Parameter
Name Description
other ConditionExplanation
Returns
Type Description
ConditionExplanation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ConditionExplanation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConditionExplanation.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ConditionExplanation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ConditionExplanation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConditionExplanation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ConditionExplanation.Builder
Overrides

mergeValue(Value value)

public ConditionExplanation.Builder mergeValue(Value value)

Value of the condition.

.google.protobuf.Value value = 1;

Parameter
Name Description
value Value
Returns
Type Description
ConditionExplanation.Builder

removeErrors(int index)

public ConditionExplanation.Builder removeErrors(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
ConditionExplanation.Builder

removeEvaluationStates(int index)

public ConditionExplanation.Builder removeEvaluationStates(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.Builder

setErrors(int index, Status value)

public ConditionExplanation.Builder setErrors(int index, Status value)

Any errors that prevented complete evaluation of the condition expression.

repeated .google.rpc.Status errors = 3;

Parameters
Name Description
index int
value com.google.rpc.Status
Returns
Type Description
ConditionExplanation.Builder

setErrors(int index, Status.Builder builderForValue)

public ConditionExplanation.Builder setErrors(int index, Status.Builder builderForValue)

Any errors that prevented complete evaluation of the condition expression.

repeated .google.rpc.Status errors = 3;

Parameters
Name Description
index int
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
ConditionExplanation.Builder

setEvaluationStates(int index, ConditionExplanation.EvaluationState value)

public ConditionExplanation.Builder setEvaluationStates(int index, ConditionExplanation.EvaluationState value)

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;

Parameters
Name Description
index int
value ConditionExplanation.EvaluationState
Returns
Type Description
ConditionExplanation.Builder

setEvaluationStates(int index, ConditionExplanation.EvaluationState.Builder builderForValue)

public ConditionExplanation.Builder setEvaluationStates(int index, ConditionExplanation.EvaluationState.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue ConditionExplanation.EvaluationState.Builder
Returns
Type Description
ConditionExplanation.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ConditionExplanation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ConditionExplanation.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ConditionExplanation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ConditionExplanation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ConditionExplanation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ConditionExplanation.Builder
Overrides

setValue(Value value)

public ConditionExplanation.Builder setValue(Value value)

Value of the condition.

.google.protobuf.Value value = 1;

Parameter
Name Description
value Value
Returns
Type Description
ConditionExplanation.Builder

setValue(Value.Builder builderForValue)

public ConditionExplanation.Builder setValue(Value.Builder builderForValue)

Value of the condition.

.google.protobuf.Value value = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ConditionExplanation.Builder