Class ExplainResponse.ConcurrentExplanation.Builder (3.52.0)

public static final class ExplainResponse.ConcurrentExplanation.Builder extends GeneratedMessageV3.Builder<ExplainResponse.ConcurrentExplanation.Builder> implements ExplainResponse.ConcurrentExplanationOrBuilder

This message is a wrapper grouping Concurrent Explanations.

Protobuf type google.cloud.aiplatform.v1beta1.ExplainResponse.ConcurrentExplanation

Static Methods

getDescriptor()

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

Methods

addAllExplanations(Iterable<? extends Explanation> values)

public ExplainResponse.ConcurrentExplanation.Builder addAllExplanations(Iterable<? extends Explanation> values)

The explanations of the Model's PredictResponse.predictions.

It has the same number of elements as instances to be explained.

repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.Explanation>
Returns
Type Description
ExplainResponse.ConcurrentExplanation.Builder

addExplanations(Explanation value)

public ExplainResponse.ConcurrentExplanation.Builder addExplanations(Explanation value)

The explanations of the Model's PredictResponse.predictions.

It has the same number of elements as instances to be explained.

repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;

Parameter
Name Description
value Explanation
Returns
Type Description
ExplainResponse.ConcurrentExplanation.Builder

addExplanations(Explanation.Builder builderForValue)

public ExplainResponse.ConcurrentExplanation.Builder addExplanations(Explanation.Builder builderForValue)

The explanations of the Model's PredictResponse.predictions.

It has the same number of elements as instances to be explained.

repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;

Parameter
Name Description
builderForValue Explanation.Builder
Returns
Type Description
ExplainResponse.ConcurrentExplanation.Builder

addExplanations(int index, Explanation value)

public ExplainResponse.ConcurrentExplanation.Builder addExplanations(int index, Explanation value)

The explanations of the Model's PredictResponse.predictions.

It has the same number of elements as instances to be explained.

repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;

Parameters
Name Description
index int
value Explanation
Returns
Type Description
ExplainResponse.ConcurrentExplanation.Builder

addExplanations(int index, Explanation.Builder builderForValue)

public ExplainResponse.ConcurrentExplanation.Builder addExplanations(int index, Explanation.Builder builderForValue)

The explanations of the Model's PredictResponse.predictions.

It has the same number of elements as instances to be explained.

repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;

Parameters
Name Description
index int
builderForValue Explanation.Builder
Returns
Type Description
ExplainResponse.ConcurrentExplanation.Builder

addExplanationsBuilder()

public Explanation.Builder addExplanationsBuilder()

The explanations of the Model's PredictResponse.predictions.

It has the same number of elements as instances to be explained.

repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;

Returns
Type Description
Explanation.Builder

addExplanationsBuilder(int index)

public Explanation.Builder addExplanationsBuilder(int index)

The explanations of the Model's PredictResponse.predictions.

It has the same number of elements as instances to be explained.

repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;

Parameter
Name Description
index int
Returns
Type Description
Explanation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExplainResponse.ConcurrentExplanation build()
Returns
Type Description
ExplainResponse.ConcurrentExplanation

buildPartial()

public ExplainResponse.ConcurrentExplanation buildPartial()
Returns
Type Description
ExplainResponse.ConcurrentExplanation

clear()

public ExplainResponse.ConcurrentExplanation.Builder clear()
Returns
Type Description
ExplainResponse.ConcurrentExplanation.Builder
Overrides

clearExplanations()

public ExplainResponse.ConcurrentExplanation.Builder clearExplanations()

The explanations of the Model's PredictResponse.predictions.

It has the same number of elements as instances to be explained.

repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;

Returns
Type Description
ExplainResponse.ConcurrentExplanation.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ExplainResponse.ConcurrentExplanation.Builder clone()
Returns
Type Description
ExplainResponse.ConcurrentExplanation.Builder
Overrides

getDefaultInstanceForType()

public ExplainResponse.ConcurrentExplanation getDefaultInstanceForType()
Returns
Type Description
ExplainResponse.ConcurrentExplanation

getDescriptorForType()

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

getExplanations(int index)

public Explanation getExplanations(int index)

The explanations of the Model's PredictResponse.predictions.

It has the same number of elements as instances to be explained.

repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;

Parameter
Name Description
index int
Returns
Type Description
Explanation

getExplanationsBuilder(int index)

public Explanation.Builder getExplanationsBuilder(int index)

The explanations of the Model's PredictResponse.predictions.

It has the same number of elements as instances to be explained.

repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;

Parameter
Name Description
index int
Returns
Type Description
Explanation.Builder

getExplanationsBuilderList()

public List<Explanation.Builder> getExplanationsBuilderList()

The explanations of the Model's PredictResponse.predictions.

It has the same number of elements as instances to be explained.

repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;

Returns
Type Description
List<Builder>

getExplanationsCount()

public int getExplanationsCount()

The explanations of the Model's PredictResponse.predictions.

It has the same number of elements as instances to be explained.

repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;

Returns
Type Description
int

getExplanationsList()

public List<Explanation> getExplanationsList()

The explanations of the Model's PredictResponse.predictions.

It has the same number of elements as instances to be explained.

repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;

Returns
Type Description
List<Explanation>

getExplanationsOrBuilder(int index)

public ExplanationOrBuilder getExplanationsOrBuilder(int index)

The explanations of the Model's PredictResponse.predictions.

It has the same number of elements as instances to be explained.

repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;

Parameter
Name Description
index int
Returns
Type Description
ExplanationOrBuilder

getExplanationsOrBuilderList()

public List<? extends ExplanationOrBuilder> getExplanationsOrBuilderList()

The explanations of the Model's PredictResponse.predictions.

It has the same number of elements as instances to be explained.

repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.ExplanationOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExplainResponse.ConcurrentExplanation other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeExplanations(int index)

public ExplainResponse.ConcurrentExplanation.Builder removeExplanations(int index)

The explanations of the Model's PredictResponse.predictions.

It has the same number of elements as instances to be explained.

repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;

Parameter
Name Description
index int
Returns
Type Description
ExplainResponse.ConcurrentExplanation.Builder

setExplanations(int index, Explanation value)

public ExplainResponse.ConcurrentExplanation.Builder setExplanations(int index, Explanation value)

The explanations of the Model's PredictResponse.predictions.

It has the same number of elements as instances to be explained.

repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;

Parameters
Name Description
index int
value Explanation
Returns
Type Description
ExplainResponse.ConcurrentExplanation.Builder

setExplanations(int index, Explanation.Builder builderForValue)

public ExplainResponse.ConcurrentExplanation.Builder setExplanations(int index, Explanation.Builder builderForValue)

The explanations of the Model's PredictResponse.predictions.

It has the same number of elements as instances to be explained.

repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;

Parameters
Name Description
index int
builderForValue Explanation.Builder
Returns
Type Description
ExplainResponse.ConcurrentExplanation.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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