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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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>
|
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
|
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
|
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
|
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
|
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;
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;
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;
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;
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;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConditionExplanation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ConditionExplanation build()
buildPartial()
public ConditionExplanation buildPartial()
clear()
public ConditionExplanation.Builder clear()
Overrides
clearErrors()
public ConditionExplanation.Builder clearErrors()
Any errors that prevented complete evaluation of the condition expression.
repeated .google.rpc.Status errors = 3;
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;
clearField(Descriptors.FieldDescriptor field)
public ConditionExplanation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ConditionExplanation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearValue()
public ConditionExplanation.Builder clearValue()
Value of the condition.
.google.protobuf.Value value = 1;
clone()
public ConditionExplanation.Builder clone()
Overrides
getDefaultInstanceForType()
public ConditionExplanation getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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
|
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;
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;
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
|
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()
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;
getValueOrBuilder()
public ValueOrBuilder getValueOrBuilder()
Value of the condition.
.google.protobuf.Value value = 1;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ConditionExplanation other)
public ConditionExplanation.Builder mergeFrom(ConditionExplanation other)
public ConditionExplanation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ConditionExplanation.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConditionExplanation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeValue(Value value)
public ConditionExplanation.Builder mergeValue(Value value)
Value of the condition.
.google.protobuf.Value value = 1;
Parameter |
Name |
Description |
value |
Value
|
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
|
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
|
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
|
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
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ConditionExplanation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConditionExplanation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ConditionExplanation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setValue(Value value)
public ConditionExplanation.Builder setValue(Value value)
Value of the condition.
.google.protobuf.Value value = 1;
Parameter |
Name |
Description |
value |
Value
|
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
|