Class ExplainResponse.ConcurrentExplanation.Builder (3.36.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.Explanation>
Returns
TypeDescription
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
NameDescription
valueExplanation
Returns
TypeDescription
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
NameDescription
builderForValueExplanation.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueExplanation
Returns
TypeDescription
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
NameDescription
indexint
builderForValueExplanation.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Explanation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExplainResponse.ConcurrentExplanation build()
Returns
TypeDescription
ExplainResponse.ConcurrentExplanation

buildPartial()

public ExplainResponse.ConcurrentExplanation buildPartial()
Returns
TypeDescription
ExplainResponse.ConcurrentExplanation

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ExplainResponse.ConcurrentExplanation.Builder clone()
Returns
TypeDescription
ExplainResponse.ConcurrentExplanation.Builder
Overrides

getDefaultInstanceForType()

public ExplainResponse.ConcurrentExplanation getDefaultInstanceForType()
Returns
TypeDescription
ExplainResponse.ConcurrentExplanation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.ExplanationOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ExplainResponse.ConcurrentExplanation other)

public ExplainResponse.ConcurrentExplanation.Builder mergeFrom(ExplainResponse.ConcurrentExplanation other)
Parameter
NameDescription
otherExplainResponse.ConcurrentExplanation
Returns
TypeDescription
ExplainResponse.ConcurrentExplanation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExplainResponse.ConcurrentExplanation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueExplanation
Returns
TypeDescription
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
NameDescription
indexint
builderForValueExplanation.Builder
Returns
TypeDescription
ExplainResponse.ConcurrentExplanation.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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