Interface ExplainResponseOrBuilder (0.2.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicinterface ExplainResponseOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
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()Use #getConcurrentExplanationsMap() instead.
| 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> |
|