Class ConditionExplanation.EvaluationState.Builder (1.32.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.rpc.Status>
Returns
TypeDescription
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
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
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
NameDescription
indexint
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
indexint
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
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
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 = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.Status.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ConditionExplanation.EvaluationState build()
Returns
TypeDescription
ConditionExplanation.EvaluationState

buildPartial()

public ConditionExplanation.EvaluationState buildPartial()
Returns
TypeDescription
ConditionExplanation.EvaluationState

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStart()

public ConditionExplanation.EvaluationState.Builder clearStart()

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

int32 start = 1;

Returns
TypeDescription
ConditionExplanation.EvaluationState.Builder

This builder for chaining.

clearValue()

public ConditionExplanation.EvaluationState.Builder clearValue()

Value of this expression.

.google.protobuf.Value value = 3;

Returns
TypeDescription
ConditionExplanation.EvaluationState.Builder

clone()

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

getDefaultInstanceForType()

public ConditionExplanation.EvaluationState getDefaultInstanceForType()
Returns
TypeDescription
ConditionExplanation.EvaluationState

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
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 = 4;

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

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

Returns
TypeDescription
int

getErrorsList()

public List<Status> getErrorsList()

Any errors that prevented complete evaluation of the condition expression.

repeated .google.rpc.Status errors = 4;

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

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

Returns
TypeDescription
List<? extends com.google.rpc.StatusOrBuilder>

getStart()

public int getStart()

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

int32 start = 1;

Returns
TypeDescription
int

The start.

getValue()

public Value getValue()

Value of this expression.

.google.protobuf.Value value = 3;

Returns
TypeDescription
Value

The value.

getValueBuilder()

public Value.Builder getValueBuilder()

Value of this expression.

.google.protobuf.Value value = 3;

Returns
TypeDescription
Builder

getValueOrBuilder()

public ValueOrBuilder getValueOrBuilder()

Value of this expression.

.google.protobuf.Value value = 3;

Returns
TypeDescription
ValueOrBuilder

hasValue()

public boolean hasValue()

Value of this expression.

.google.protobuf.Value value = 3;

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeValue(Value value)

public ConditionExplanation.EvaluationState.Builder mergeValue(Value value)

Value of this expression.

.google.protobuf.Value value = 3;

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

The end to set.

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

setField(Descriptors.FieldDescriptor field, Object value)

public ConditionExplanation.EvaluationState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The start to set.

Returns
TypeDescription
ConditionExplanation.EvaluationState.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setValue(Value value)

public ConditionExplanation.EvaluationState.Builder setValue(Value value)

Value of this expression.

.google.protobuf.Value value = 3;

Parameter
NameDescription
valueValue
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
ConditionExplanation.EvaluationState.Builder