Interface ExplainResponseOrBuilder (0.2.0)

publicinterface ExplainResponseOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

containsConcurrentExplanations(String key)

publicabstractbooleancontainsConcurrentExplanations(Stringkey)

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

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

Parameter
Name Description
key String
Returns
Type Description
boolean

getConcurrentExplanations() (deprecated)

publicabstractMap<String,ExplainResponse.ConcurrentExplanation>getConcurrentExplanations()
Returns
Type Description
Map<String,ConcurrentExplanation>

getConcurrentExplanationsCount()

publicabstractintgetConcurrentExplanationsCount()

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

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

Returns
Type Description
int

getConcurrentExplanationsMap()

publicabstractMap<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.vertexai.v1beta1.ExplainResponse.ConcurrentExplanation> concurrent_explanations = 4;

Returns
Type Description
Map<String,ConcurrentExplanation>

getConcurrentExplanationsOrDefault(String key, ExplainResponse.ConcurrentExplanation defaultValue)

publicabstractExplainResponse.ConcurrentExplanationgetConcurrentExplanationsOrDefault(Stringkey,ExplainResponse.ConcurrentExplanationdefaultValue)

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

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

Parameters
Name Description
key String
defaultValue ExplainResponse.ConcurrentExplanation
Returns
Type Description
ExplainResponse.ConcurrentExplanation

getConcurrentExplanationsOrThrow(String key)

publicabstractExplainResponse.ConcurrentExplanationgetConcurrentExplanationsOrThrow(Stringkey)

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

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

Parameter
Name Description
key String
Returns
Type Description
ExplainResponse.ConcurrentExplanation

getDeployedModelId()

publicabstractStringgetDeployedModelId()

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

string deployed_model_id = 2;

Returns
Type Description
String

The deployedModelId.

getDeployedModelIdBytes()

publicabstractByteStringgetDeployedModelIdBytes()

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)

publicabstractExplanationgetExplanations(intindex)

The explanations of the Model's PredictResponse.predictions.

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

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

Parameter
Name Description
index int
Returns
Type Description
Explanation

getExplanationsCount()

publicabstractintgetExplanationsCount()

The explanations of the Model's PredictResponse.predictions.

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

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

Returns
Type Description
int

getExplanationsList()

publicabstractList<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.v1beta1.Explanation explanations = 1;

Returns
Type Description
List<Explanation>

getExplanationsOrBuilder(int index)

publicabstractExplanationOrBuildergetExplanationsOrBuilder(intindex)

The explanations of the Model's PredictResponse.predictions.

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

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

Parameter
Name Description
index int
Returns
Type Description
ExplanationOrBuilder

getExplanationsOrBuilderList()

publicabstractList<?extendsExplanationOrBuilder>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.v1beta1.Explanation explanations = 1;

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

getPredictions(int index)

publicabstractValuegetPredictions(intindex)

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()

publicabstractintgetPredictionsCount()

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()

publicabstractList<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)

publicabstractValueOrBuildergetPredictionsOrBuilder(intindex)

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()

publicabstractList<?extendsValueOrBuilder>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>

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.