public final class ExplainResponse extends com.google.protobuf.GeneratedMessageV3 implements ExplainResponseOrBuilder
Response message for [PredictionService.Explain][google.cloud.aiplatform.v1beta1.PredictionService.Explain].Protobuf type
google.cloud.aiplatform.v1beta1.ExplainResponse| Modifier and Type | Class and Description |
|---|---|
static class |
ExplainResponse.Builder
Response message for
[PredictionService.Explain][google.cloud.aiplatform.v1beta1.PredictionService.Explain].
|
static class |
ExplainResponse.ConcurrentExplanation
This message is a wrapper grouping Concurrent Explanations.
|
static interface |
ExplainResponse.ConcurrentExplanationOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CONCURRENT_EXPLANATIONS_FIELD_NUMBER |
static int |
DEPLOYED_MODEL_ID_FIELD_NUMBER |
static int |
EXPLANATIONS_FIELD_NUMBER |
static int |
PREDICTIONS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsConcurrentExplanations(String key)
This field stores the results of the explanations run in parallel with
The default explanation strategy/method.
|
boolean |
equals(Object obj) |
Map<String,ExplainResponse.ConcurrentExplanation> |
getConcurrentExplanations()
Deprecated.
|
int |
getConcurrentExplanationsCount()
This field stores the results of the explanations run in parallel with
The default explanation strategy/method.
|
Map<String,ExplainResponse.ConcurrentExplanation> |
getConcurrentExplanationsMap()
This field stores the results of the explanations run in parallel with
The default explanation strategy/method.
|
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.
|
ExplainResponse.ConcurrentExplanation |
getConcurrentExplanationsOrThrow(String key)
This field stores the results of the explanations run in parallel with
The default explanation strategy/method.
|
static ExplainResponse |
getDefaultInstance() |
ExplainResponse |
getDefaultInstanceForType() |
String |
getDeployedModelId()
ID of the Endpoint's DeployedModel that served this explanation.
|
com.google.protobuf.ByteString |
getDeployedModelIdBytes()
ID of the Endpoint's DeployedModel that served this explanation.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Explanation |
getExplanations(int index)
The explanations of the Model's
[PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].
|
int |
getExplanationsCount()
The explanations of the Model's
[PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].
|
List<Explanation> |
getExplanationsList()
The explanations of the Model's
[PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].
|
ExplanationOrBuilder |
getExplanationsOrBuilder(int index)
The explanations of the Model's
[PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].
|
List<? extends ExplanationOrBuilder> |
getExplanationsOrBuilderList()
The explanations of the Model's
[PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].
|
com.google.protobuf.Parser<ExplainResponse> |
getParserForType() |
com.google.protobuf.Value |
getPredictions(int index)
The predictions that are the output of the predictions call.
|
int |
getPredictionsCount()
The predictions that are the output of the predictions call.
|
List<com.google.protobuf.Value> |
getPredictionsList()
The predictions that are the output of the predictions call.
|
com.google.protobuf.ValueOrBuilder |
getPredictionsOrBuilder(int index)
The predictions that are the output of the predictions call.
|
List<? extends com.google.protobuf.ValueOrBuilder> |
getPredictionsOrBuilderList()
The predictions that are the output of the predictions call.
|
int |
getSerializedSize() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
boolean |
isInitialized() |
static ExplainResponse.Builder |
newBuilder() |
static ExplainResponse.Builder |
newBuilder(ExplainResponse prototype) |
ExplainResponse.Builder |
newBuilderForType() |
protected ExplainResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ExplainResponse |
parseDelimitedFrom(InputStream input) |
static ExplainResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExplainResponse |
parseFrom(byte[] data) |
static ExplainResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExplainResponse |
parseFrom(ByteBuffer data) |
static ExplainResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExplainResponse |
parseFrom(com.google.protobuf.ByteString data) |
static ExplainResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExplainResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ExplainResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExplainResponse |
parseFrom(InputStream input) |
static ExplainResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ExplainResponse> |
parser() |
ExplainResponse.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int EXPLANATIONS_FIELD_NUMBER
public static final int CONCURRENT_EXPLANATIONS_FIELD_NUMBER
public static final int DEPLOYED_MODEL_ID_FIELD_NUMBER
public static final int PREDICTIONS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public List<Explanation> getExplanationsList()
The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions]. It has the same number of elements as [instances][google.cloud.aiplatform.v1beta1.ExplainRequest.instances] to be explained.
repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;getExplanationsList in interface ExplainResponseOrBuilderpublic List<? extends ExplanationOrBuilder> getExplanationsOrBuilderList()
The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions]. It has the same number of elements as [instances][google.cloud.aiplatform.v1beta1.ExplainRequest.instances] to be explained.
repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;getExplanationsOrBuilderList in interface ExplainResponseOrBuilderpublic int getExplanationsCount()
The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions]. It has the same number of elements as [instances][google.cloud.aiplatform.v1beta1.ExplainRequest.instances] to be explained.
repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;getExplanationsCount in interface ExplainResponseOrBuilderpublic Explanation getExplanations(int index)
The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions]. It has the same number of elements as [instances][google.cloud.aiplatform.v1beta1.ExplainRequest.instances] to be explained.
repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;getExplanations in interface ExplainResponseOrBuilderpublic ExplanationOrBuilder getExplanationsOrBuilder(int index)
The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions]. It has the same number of elements as [instances][google.cloud.aiplatform.v1beta1.ExplainRequest.instances] to be explained.
repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;getExplanationsOrBuilder in interface ExplainResponseOrBuilderpublic int getConcurrentExplanationsCount()
ExplainResponseOrBuilderThis 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;
getConcurrentExplanationsCount in interface ExplainResponseOrBuilderpublic 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;
containsConcurrentExplanations in interface ExplainResponseOrBuilder@Deprecated public Map<String,ExplainResponse.ConcurrentExplanation> getConcurrentExplanations()
getConcurrentExplanationsMap() instead.getConcurrentExplanations in interface ExplainResponseOrBuilderpublic 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;
getConcurrentExplanationsMap in interface ExplainResponseOrBuilderpublic 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;
getConcurrentExplanationsOrDefault in interface ExplainResponseOrBuilderpublic 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;
getConcurrentExplanationsOrThrow in interface ExplainResponseOrBuilderpublic String getDeployedModelId()
ID of the Endpoint's DeployedModel that served this explanation.
string deployed_model_id = 2;getDeployedModelId in interface ExplainResponseOrBuilderpublic com.google.protobuf.ByteString getDeployedModelIdBytes()
ID of the Endpoint's DeployedModel that served this explanation.
string deployed_model_id = 2;getDeployedModelIdBytes in interface ExplainResponseOrBuilderpublic List<com.google.protobuf.Value> getPredictionsList()
The predictions that are the output of the predictions call. Same as [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].
repeated .google.protobuf.Value predictions = 3;getPredictionsList in interface ExplainResponseOrBuilderpublic List<? extends com.google.protobuf.ValueOrBuilder> getPredictionsOrBuilderList()
The predictions that are the output of the predictions call. Same as [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].
repeated .google.protobuf.Value predictions = 3;getPredictionsOrBuilderList in interface ExplainResponseOrBuilderpublic int getPredictionsCount()
The predictions that are the output of the predictions call. Same as [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].
repeated .google.protobuf.Value predictions = 3;getPredictionsCount in interface ExplainResponseOrBuilderpublic com.google.protobuf.Value getPredictions(int index)
The predictions that are the output of the predictions call. Same as [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].
repeated .google.protobuf.Value predictions = 3;getPredictions in interface ExplainResponseOrBuilderpublic com.google.protobuf.ValueOrBuilder getPredictionsOrBuilder(int index)
The predictions that are the output of the predictions call. Same as [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].
repeated .google.protobuf.Value predictions = 3;getPredictionsOrBuilder in interface ExplainResponseOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ExplainResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExplainResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExplainResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExplainResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExplainResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExplainResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExplainResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static ExplainResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ExplainResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ExplainResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ExplainResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ExplainResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ExplainResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ExplainResponse.Builder newBuilder()
public static ExplainResponse.Builder newBuilder(ExplainResponse prototype)
public ExplainResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ExplainResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ExplainResponse getDefaultInstance()
public static com.google.protobuf.Parser<ExplainResponse> parser()
public com.google.protobuf.Parser<ExplainResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ExplainResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.