Interface ExplainResponseOrBuilder (3.31.0)

public interface ExplainResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsConcurrentExplanations(String key)

public abstract boolean containsConcurrentExplanations(String key)

This field stores the results of the explanations run in parallel with the default explanation strategy/method.

map<string, .google.cloud.aiplatform.v1beta1.ExplainResponse.ConcurrentExplanation> concurrent_explanations = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getConcurrentExplanations()

public abstract Map<String,ExplainResponse.ConcurrentExplanation> getConcurrentExplanations()
Returns
TypeDescription
Map<String,ConcurrentExplanation>

getConcurrentExplanationsCount()

public abstract int getConcurrentExplanationsCount()

This field stores the results of the explanations run in parallel with the default explanation strategy/method.

map<string, .google.cloud.aiplatform.v1beta1.ExplainResponse.ConcurrentExplanation> concurrent_explanations = 4;

Returns
TypeDescription
int

getConcurrentExplanationsMap()

public abstract Map<String,ExplainResponse.ConcurrentExplanation> getConcurrentExplanationsMap()

This field stores the results of the explanations run in parallel with the default explanation strategy/method.

map<string, .google.cloud.aiplatform.v1beta1.ExplainResponse.ConcurrentExplanation> concurrent_explanations = 4;

Returns
TypeDescription
Map<String,ConcurrentExplanation>

getConcurrentExplanationsOrDefault(String key, ExplainResponse.ConcurrentExplanation defaultValue)

public abstract ExplainResponse.ConcurrentExplanation getConcurrentExplanationsOrDefault(String key, ExplainResponse.ConcurrentExplanation defaultValue)

This field stores the results of the explanations run in parallel with the default explanation strategy/method.

map<string, .google.cloud.aiplatform.v1beta1.ExplainResponse.ConcurrentExplanation> concurrent_explanations = 4;

Parameters
NameDescription
keyString
defaultValueExplainResponse.ConcurrentExplanation
Returns
TypeDescription
ExplainResponse.ConcurrentExplanation

getConcurrentExplanationsOrThrow(String key)

public abstract ExplainResponse.ConcurrentExplanation getConcurrentExplanationsOrThrow(String key)

This field stores the results of the explanations run in parallel with the default explanation strategy/method.

map<string, .google.cloud.aiplatform.v1beta1.ExplainResponse.ConcurrentExplanation> concurrent_explanations = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
ExplainResponse.ConcurrentExplanation

getDeployedModelId()

public abstract String getDeployedModelId()

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

string deployed_model_id = 2;

Returns
TypeDescription
String

The deployedModelId.

getDeployedModelIdBytes()

public abstract ByteString getDeployedModelIdBytes()

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

string deployed_model_id = 2;

Returns
TypeDescription
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.aiplatform.v1beta1.Explanation explanations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.aiplatform.v1beta1.Explanation explanations = 1;

Returns
TypeDescription
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.aiplatform.v1beta1.Explanation explanations = 1;

Returns
TypeDescription
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.aiplatform.v1beta1.Explanation explanations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.aiplatform.v1beta1.Explanation explanations = 1;

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.protobuf.ValueOrBuilder>