Class ConditionExplanation.EvaluationState.Builder (1.42.0)

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

Evaluated state of a condition expression.

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

Static Methods

getDescriptor()

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

Methods

addAllErrors(Iterable<? extends Status> values)

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

Any errors that prevented complete evaluation of the condition expression.

repeated .google.rpc.Status errors = 4;

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

addErrors(Status value)

public ConditionExplanation.EvaluationState.Builder addErrors(Status value)

Any errors that prevented complete evaluation of the condition expression.

repeated .google.rpc.Status errors = 4;

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

addErrors(Status.Builder builderForValue)

public ConditionExplanation.EvaluationState.Builder addErrors(Status.Builder builderForValue)

Any errors that prevented complete evaluation of the condition expression.

repeated .google.rpc.Status errors = 4;

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

addErrors(int index, Status value)

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

Any errors that prevented complete evaluation of the condition expression.

repeated .google.rpc.Status errors = 4;

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

addErrors(int index, Status.Builder builderForValue)

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

Any errors that prevented complete evaluation of the condition expression.

repeated .google.rpc.Status errors = 4;

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

addErrorsBuilder()

public Status.Builder addErrorsBuilder()

Any errors that prevented complete evaluation of the condition expression.

repeated .google.rpc.Status errors = 4;

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 = 4;

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.Status.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ConditionExplanation.EvaluationState build()
Returns
Type Description
ConditionExplanation.EvaluationState

buildPartial()

public ConditionExplanation.EvaluationState buildPartial()
Returns
Type Description
ConditionExplanation.EvaluationState

clear()

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

clearEnd()

public ConditionExplanation.EvaluationState.Builder clearEnd()

End position of an expression in the condition, by character, end included, for example: the end position of the first part of a==b || c==d would be 4.

int32 end = 2;

Returns
Type Description
ConditionExplanation.EvaluationState.Builder

This builder for chaining.

clearErrors()

public ConditionExplanation.EvaluationState.Builder clearErrors()

Any errors that prevented complete evaluation of the condition expression.

repeated .google.rpc.Status errors = 4;

Returns
Type Description
ConditionExplanation.EvaluationState.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStart()

public ConditionExplanation.EvaluationState.Builder clearStart()

Start position of an expression in the condition, by character.

int32 start = 1;

Returns
Type Description
ConditionExplanation.EvaluationState.Builder

This builder for chaining.

clearValue()

public ConditionExplanation.EvaluationState.Builder clearValue()

Value of this expression.

.google.protobuf.Value value = 3;

Returns
Type Description
ConditionExplanation.EvaluationState.Builder

clone()

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

getDefaultInstanceForType()

public ConditionExplanation.EvaluationState getDefaultInstanceForType()
Returns
Type Description
ConditionExplanation.EvaluationState

getDescriptorForType()

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

getEnd()

public int getEnd()

End position of an expression in the condition, by character, end included, for example: the end position of the first part of a==b || c==d would be 4.

int32 end = 2;

Returns
Type Description
int

The end.

getErrors(int index)

public Status getErrors(int index)

Any errors that prevented complete evaluation of the condition expression.

repeated .google.rpc.Status errors = 4;

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 = 4;

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 = 4;

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 = 4;

Returns
Type Description
int

getErrorsList()

public List<Status> getErrorsList()

Any errors that prevented complete evaluation of the condition expression.

repeated .google.rpc.Status errors = 4;

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 = 4;

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 = 4;

Returns
Type Description
List<? extends com.google.rpc.StatusOrBuilder>

getStart()

public int getStart()

Start position of an expression in the condition, by character.

int32 start = 1;

Returns
Type Description
int

The start.

getValue()

public Value getValue()

Value of this expression.

.google.protobuf.Value value = 3;

Returns
Type Description
Value

The value.

getValueBuilder()

public Value.Builder getValueBuilder()

Value of this expression.

.google.protobuf.Value value = 3;

Returns
Type Description
Builder

getValueOrBuilder()

public ValueOrBuilder getValueOrBuilder()

Value of this expression.

.google.protobuf.Value value = 3;

Returns
Type Description
ValueOrBuilder

hasValue()

public boolean hasValue()

Value of this expression.

.google.protobuf.Value value = 3;

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.EvaluationState other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeValue(Value value)

public ConditionExplanation.EvaluationState.Builder mergeValue(Value value)

Value of this expression.

.google.protobuf.Value value = 3;

Parameter
Name Description
value Value
Returns
Type Description
ConditionExplanation.EvaluationState.Builder

removeErrors(int index)

public ConditionExplanation.EvaluationState.Builder removeErrors(int index)

Any errors that prevented complete evaluation of the condition expression.

repeated .google.rpc.Status errors = 4;

Parameter
Name Description
index int
Returns
Type Description
ConditionExplanation.EvaluationState.Builder

setEnd(int value)

public ConditionExplanation.EvaluationState.Builder setEnd(int value)

End position of an expression in the condition, by character, end included, for example: the end position of the first part of a==b || c==d would be 4.

int32 end = 2;

Parameter
Name Description
value int

The end to set.

Returns
Type Description
ConditionExplanation.EvaluationState.Builder

This builder for chaining.

setErrors(int index, Status value)

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

Any errors that prevented complete evaluation of the condition expression.

repeated .google.rpc.Status errors = 4;

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

setErrors(int index, Status.Builder builderForValue)

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

Any errors that prevented complete evaluation of the condition expression.

repeated .google.rpc.Status errors = 4;

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setStart(int value)

public ConditionExplanation.EvaluationState.Builder setStart(int value)

Start position of an expression in the condition, by character.

int32 start = 1;

Parameter
Name Description
value int

The start to set.

Returns
Type Description
ConditionExplanation.EvaluationState.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setValue(Value value)

public ConditionExplanation.EvaluationState.Builder setValue(Value value)

Value of this expression.

.google.protobuf.Value value = 3;

Parameter
Name Description
value Value
Returns
Type Description
ConditionExplanation.EvaluationState.Builder

setValue(Value.Builder builderForValue)

public ConditionExplanation.EvaluationState.Builder setValue(Value.Builder builderForValue)

Value of this expression.

.google.protobuf.Value value = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ConditionExplanation.EvaluationState.Builder