Class ExplainResponse
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1beta1.ExplainResponse
- All Implemented Interfaces:
ExplainResponseOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class ExplainResponse
extends com.google.protobuf.GeneratedMessage
implements ExplainResponseOrBuilder
Response message for [PredictionService.Explain][google.cloud.aiplatform.v1beta1.PredictionService.Explain].Protobuf type
google.cloud.aiplatform.v1beta1.ExplainResponse- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classResponse message for [PredictionService.Explain][google.cloud.aiplatform.v1beta1.PredictionService.Explain].static final classThis message is a wrapper grouping Concurrent Explanations.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanThis field stores the results of the explanations run in parallel with The default explanation strategy/method.booleanDeprecated.intThis field stores the results of the explanations run in parallel with The default explanation strategy/method.This field stores the results of the explanations run in parallel with The default explanation strategy/method.getConcurrentExplanationsOrDefault(String key, ExplainResponse.ConcurrentExplanation defaultValue) This field stores the results of the explanations run in parallel with The default explanation strategy/method.This field stores the results of the explanations run in parallel with The default explanation strategy/method.static ExplainResponseID of the Endpoint's DeployedModel that served this explanation.com.google.protobuf.ByteStringID of the Endpoint's DeployedModel that served this explanation.static final com.google.protobuf.Descriptors.DescriptorgetExplanations(int index) The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].intThe explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].getExplanationsOrBuilder(int index) The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].List<? extends ExplanationOrBuilder>The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].com.google.protobuf.Parser<ExplainResponse>com.google.protobuf.ValuegetPredictions(int index) The predictions that are the output of the predictions call.intThe predictions that are the output of the predictions call.List<com.google.protobuf.Value>The predictions that are the output of the predictions call.com.google.protobuf.ValueOrBuildergetPredictionsOrBuilder(int index) The predictions that are the output of the predictions call.List<? extends com.google.protobuf.ValueOrBuilder>The predictions that are the output of the predictions call.intinthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic ExplainResponse.Builderstatic ExplainResponse.BuildernewBuilder(ExplainResponse prototype) protected ExplainResponse.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ExplainResponseparseDelimitedFrom(InputStream input) static ExplainResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ExplainResponseparseFrom(byte[] data) static ExplainResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ExplainResponseparseFrom(com.google.protobuf.ByteString data) static ExplainResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ExplainResponseparseFrom(com.google.protobuf.CodedInputStream input) static ExplainResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ExplainResponseparseFrom(InputStream input) static ExplainResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ExplainResponseparseFrom(ByteBuffer data) static ExplainResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ExplainResponse>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
EXPLANATIONS_FIELD_NUMBER
public static final int EXPLANATIONS_FIELD_NUMBER- See Also:
-
CONCURRENT_EXPLANATIONS_FIELD_NUMBER
public static final int CONCURRENT_EXPLANATIONS_FIELD_NUMBER- See Also:
-
DEPLOYED_MODEL_ID_FIELD_NUMBER
public static final int DEPLOYED_MODEL_ID_FIELD_NUMBER- See Also:
-
PREDICTIONS_FIELD_NUMBER
public static final int PREDICTIONS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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;- Specified by:
getExplanationsListin interfaceExplainResponseOrBuilder
-
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;- Specified by:
getExplanationsOrBuilderListin interfaceExplainResponseOrBuilder
-
getExplanationsCount
public 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;- Specified by:
getExplanationsCountin interfaceExplainResponseOrBuilder
-
getExplanations
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;- Specified by:
getExplanationsin interfaceExplainResponseOrBuilder
-
getExplanationsOrBuilder
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;- Specified by:
getExplanationsOrBuilderin interfaceExplainResponseOrBuilder
-
getConcurrentExplanationsCount
public int getConcurrentExplanationsCount()Description copied from interface: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;- Specified by:
getConcurrentExplanationsCountin interfaceExplainResponseOrBuilder
-
containsConcurrentExplanations
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;- Specified by:
containsConcurrentExplanationsin interfaceExplainResponseOrBuilder
-
getConcurrentExplanations
Deprecated.UsegetConcurrentExplanationsMap()instead.- Specified by:
getConcurrentExplanationsin interfaceExplainResponseOrBuilder
-
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;- Specified by:
getConcurrentExplanationsMapin interfaceExplainResponseOrBuilder
-
getConcurrentExplanationsOrDefault
public 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;- Specified by:
getConcurrentExplanationsOrDefaultin interfaceExplainResponseOrBuilder
-
getConcurrentExplanationsOrThrow
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;- Specified by:
getConcurrentExplanationsOrThrowin interfaceExplainResponseOrBuilder
-
getDeployedModelId
ID of the Endpoint's DeployedModel that served this explanation.
string deployed_model_id = 2;- Specified by:
getDeployedModelIdin interfaceExplainResponseOrBuilder- Returns:
- The deployedModelId.
-
getDeployedModelIdBytes
public com.google.protobuf.ByteString getDeployedModelIdBytes()ID of the Endpoint's DeployedModel that served this explanation.
string deployed_model_id = 2;- Specified by:
getDeployedModelIdBytesin interfaceExplainResponseOrBuilder- Returns:
- The bytes for deployedModelId.
-
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;- Specified by:
getPredictionsListin interfaceExplainResponseOrBuilder
-
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;- Specified by:
getPredictionsOrBuilderListin interfaceExplainResponseOrBuilder
-
getPredictionsCount
public 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;- Specified by:
getPredictionsCountin interfaceExplainResponseOrBuilder
-
getPredictions
public 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;- Specified by:
getPredictionsin interfaceExplainResponseOrBuilder
-
getPredictionsOrBuilder
public 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;- Specified by:
getPredictionsOrBuilderin interfaceExplainResponseOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ExplainResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExplainResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExplainResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExplainResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExplainResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExplainResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ExplainResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ExplainResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ExplainResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ExplainResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ExplainResponse.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-