Class ConditionExplanation.Builder (1.26.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.rpc.Status>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.policytroubleshooter.iam.v3.ConditionExplanation.EvaluationState>
Returns
TypeDescription
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
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
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
NameDescription
indexint
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
indexint
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
ConditionExplanation.Builder

addErrorsBuilder()

public Status.Builder addErrorsBuilder()

Any errors that prevented complete evaluation of the condition expression.

repeated .google.rpc.Status errors = 3;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueConditionExplanation.EvaluationState
Returns
TypeDescription
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
NameDescription
builderForValueConditionExplanation.EvaluationState.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueConditionExplanation.EvaluationState
Returns
TypeDescription
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
NameDescription
indexint
builderForValueConditionExplanation.EvaluationState.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ConditionExplanation.EvaluationState.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ConditionExplanation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ConditionExplanation.Builder
Overrides

build()

public ConditionExplanation build()
Returns
TypeDescription
ConditionExplanation

buildPartial()

public ConditionExplanation buildPartial()
Returns
TypeDescription
ConditionExplanation

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ConditionExplanation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ConditionExplanation.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ConditionExplanation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ConditionExplanation.Builder
Overrides

clearValue()

public ConditionExplanation.Builder clearValue()

Value of the condition.

.google.protobuf.Value value = 1;

Returns
TypeDescription
ConditionExplanation.Builder

clone()

public ConditionExplanation.Builder clone()
Returns
TypeDescription
ConditionExplanation.Builder
Overrides

getDefaultInstanceForType()

public ConditionExplanation getDefaultInstanceForType()
Returns
TypeDescription
ConditionExplanation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
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

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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
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>

getValue()

public Value getValue()

Value of the condition.

.google.protobuf.Value value = 1;

Returns
TypeDescription
Value

The value.

getValueBuilder()

public Value.Builder getValueBuilder()

Value of the condition.

.google.protobuf.Value value = 1;

Returns
TypeDescription
Builder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ConditionExplanation other)

public ConditionExplanation.Builder mergeFrom(ConditionExplanation other)
Parameter
NameDescription
otherConditionExplanation
Returns
TypeDescription
ConditionExplanation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ConditionExplanation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConditionExplanation.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ConditionExplanation.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ConditionExplanation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConditionExplanation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ConditionExplanation.Builder
Overrides

mergeValue(Value value)

public ConditionExplanation.Builder mergeValue(Value value)

Value of the condition.

.google.protobuf.Value value = 1;

Parameter
NameDescription
valueValue
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
indexint
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueConditionExplanation.EvaluationState
Returns
TypeDescription
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
NameDescription
indexint
builderForValueConditionExplanation.EvaluationState.Builder
Returns
TypeDescription
ConditionExplanation.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ConditionExplanation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ConditionExplanation.Builder
Overrides

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

public ConditionExplanation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ConditionExplanation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ConditionExplanation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ConditionExplanation.Builder
Overrides

setValue(Value value)

public ConditionExplanation.Builder setValue(Value value)

Value of the condition.

.google.protobuf.Value value = 1;

Parameter
NameDescription
valueValue
Returns
TypeDescription
ConditionExplanation.Builder

setValue(Value.Builder builderForValue)

public ConditionExplanation.Builder setValue(Value.Builder builderForValue)

Value of the condition.

.google.protobuf.Value value = 1;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ConditionExplanation.Builder