Interface ExplainResponseOrBuilder (1.5.0)

public interface ExplainResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDeployedModelId()

public abstract String getDeployedModelId()

ID of the Endpoint's DeployedModel that served this explanation.

string deployed_model_id = 2;

Returns
Type Description
String

The deployedModelId.

getDeployedModelIdBytes()

public abstract ByteString getDeployedModelIdBytes()

ID of the Endpoint's DeployedModel that served this explanation.

string deployed_model_id = 2;

Returns
Type Description
ByteString

The bytes for deployedModelId.

getExplanations(int index)

public abstract 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.vertexai.v1.Explanation explanations = 1;

Parameter
Name Description
index int
Returns
Type Description
Explanation

getExplanationsCount()

public abstract 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.vertexai.v1.Explanation explanations = 1;

Returns
Type Description
int

getExplanationsList()

public abstract 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.vertexai.v1.Explanation explanations = 1;

Returns
Type Description
List<Explanation>

getExplanationsOrBuilder(int index)

public abstract 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.vertexai.v1.Explanation explanations = 1;

Parameter
Name Description
index int
Returns
Type Description
ExplanationOrBuilder

getExplanationsOrBuilderList()

public abstract 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.vertexai.v1.Explanation explanations = 1;

Returns
Type Description
List<? extends com.google.cloud.vertexai.api.ExplanationOrBuilder>

getPredictions(int index)

public abstract Value getPredictions(int index)

The predictions that are the output of the predictions call. Same as PredictResponse.predictions.

repeated .google.protobuf.Value predictions = 3;

Parameter
Name Description
index int
Returns
Type Description
Value

getPredictionsCount()

public abstract int getPredictionsCount()

The predictions that are the output of the predictions call. Same as PredictResponse.predictions.

repeated .google.protobuf.Value predictions = 3;

Returns
Type Description
int

getPredictionsList()

public abstract List<Value> getPredictionsList()

The predictions that are the output of the predictions call. Same as PredictResponse.predictions.

repeated .google.protobuf.Value predictions = 3;

Returns
Type Description
List<Value>

getPredictionsOrBuilder(int index)

public abstract ValueOrBuilder getPredictionsOrBuilder(int index)

The predictions that are the output of the predictions call. Same as PredictResponse.predictions.

repeated .google.protobuf.Value predictions = 3;

Parameter
Name Description
index int
Returns
Type Description
ValueOrBuilder

getPredictionsOrBuilderList()

public abstract List<? extends ValueOrBuilder> getPredictionsOrBuilderList()

The predictions that are the output of the predictions call. Same as PredictResponse.predictions.

repeated .google.protobuf.Value predictions = 3;

Returns
Type Description
List<? extends com.google.protobuf.ValueOrBuilder>