Package com.google.cloud.aiplatform.v1
Class ExplainResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExplainResponse.Builder>
com.google.cloud.aiplatform.v1.ExplainResponse.Builder
- All Implemented Interfaces:
ExplainResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ExplainResponse
public static final class ExplainResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ExplainResponse.Builder>
implements ExplainResponseOrBuilder
Response message for [PredictionService.Explain][google.cloud.aiplatform.v1.PredictionService.Explain].Protobuf type
google.cloud.aiplatform.v1.ExplainResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllExplanations(Iterable<? extends Explanation> values) The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions].addAllPredictions(Iterable<? extends com.google.protobuf.Value> values) The predictions that are the output of the predictions call.addExplanations(int index, Explanation value) The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions].addExplanations(int index, Explanation.Builder builderForValue) The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions].addExplanations(Explanation value) The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions].addExplanations(Explanation.Builder builderForValue) The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions].The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions].addExplanationsBuilder(int index) The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions].addPredictions(int index, com.google.protobuf.Value value) The predictions that are the output of the predictions call.addPredictions(int index, com.google.protobuf.Value.Builder builderForValue) The predictions that are the output of the predictions call.addPredictions(com.google.protobuf.Value value) The predictions that are the output of the predictions call.addPredictions(com.google.protobuf.Value.Builder builderForValue) The predictions that are the output of the predictions call.com.google.protobuf.Value.BuilderThe predictions that are the output of the predictions call.com.google.protobuf.Value.BuilderaddPredictionsBuilder(int index) The predictions that are the output of the predictions call.build()clear()ID of the Endpoint's DeployedModel that served this explanation.The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions].The predictions that are the output of the predictions call.ID 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.Descriptorcom.google.protobuf.Descriptors.DescriptorgetExplanations(int index) The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions].getExplanationsBuilder(int index) The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions].The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions].intThe explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions].The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions].getExplanationsOrBuilder(int index) The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions].List<? extends ExplanationOrBuilder>The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions].com.google.protobuf.ValuegetPredictions(int index) The predictions that are the output of the predictions call.com.google.protobuf.Value.BuildergetPredictionsBuilder(int index) The predictions that are the output of the predictions call.List<com.google.protobuf.Value.Builder>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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ExplainResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeExplanations(int index) The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions].removePredictions(int index) The predictions that are the output of the predictions call.setDeployedModelId(String value) ID of the Endpoint's DeployedModel that served this explanation.setDeployedModelIdBytes(com.google.protobuf.ByteString value) ID of the Endpoint's DeployedModel that served this explanation.setExplanations(int index, Explanation value) The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions].setExplanations(int index, Explanation.Builder builderForValue) The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions].setPredictions(int index, com.google.protobuf.Value value) The predictions that are the output of the predictions call.setPredictions(int index, com.google.protobuf.Value.Builder builderForValue) The predictions that are the output of the predictions call.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ExplainResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ExplainResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ExplainResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExplainResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ExplainResponse.Builder>
-
mergeFrom
public ExplainResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExplainResponse.Builder>- Throws:
IOException
-
getExplanationsList
The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions]. It has the same number of elements as [instances][google.cloud.aiplatform.v1.ExplainRequest.instances] to be explained.
repeated .google.cloud.aiplatform.v1.Explanation explanations = 1;- Specified by:
getExplanationsListin interfaceExplainResponseOrBuilder
-
getExplanationsCount
public int getExplanationsCount()The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions]. It has the same number of elements as [instances][google.cloud.aiplatform.v1.ExplainRequest.instances] to be explained.
repeated .google.cloud.aiplatform.v1.Explanation explanations = 1;- Specified by:
getExplanationsCountin interfaceExplainResponseOrBuilder
-
getExplanations
The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions]. It has the same number of elements as [instances][google.cloud.aiplatform.v1.ExplainRequest.instances] to be explained.
repeated .google.cloud.aiplatform.v1.Explanation explanations = 1;- Specified by:
getExplanationsin interfaceExplainResponseOrBuilder
-
setExplanations
The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions]. It has the same number of elements as [instances][google.cloud.aiplatform.v1.ExplainRequest.instances] to be explained.
repeated .google.cloud.aiplatform.v1.Explanation explanations = 1; -
setExplanations
The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions]. It has the same number of elements as [instances][google.cloud.aiplatform.v1.ExplainRequest.instances] to be explained.
repeated .google.cloud.aiplatform.v1.Explanation explanations = 1; -
addExplanations
The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions]. It has the same number of elements as [instances][google.cloud.aiplatform.v1.ExplainRequest.instances] to be explained.
repeated .google.cloud.aiplatform.v1.Explanation explanations = 1; -
addExplanations
The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions]. It has the same number of elements as [instances][google.cloud.aiplatform.v1.ExplainRequest.instances] to be explained.
repeated .google.cloud.aiplatform.v1.Explanation explanations = 1; -
addExplanations
The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions]. It has the same number of elements as [instances][google.cloud.aiplatform.v1.ExplainRequest.instances] to be explained.
repeated .google.cloud.aiplatform.v1.Explanation explanations = 1; -
addExplanations
The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions]. It has the same number of elements as [instances][google.cloud.aiplatform.v1.ExplainRequest.instances] to be explained.
repeated .google.cloud.aiplatform.v1.Explanation explanations = 1; -
addAllExplanations
The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions]. It has the same number of elements as [instances][google.cloud.aiplatform.v1.ExplainRequest.instances] to be explained.
repeated .google.cloud.aiplatform.v1.Explanation explanations = 1; -
clearExplanations
The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions]. It has the same number of elements as [instances][google.cloud.aiplatform.v1.ExplainRequest.instances] to be explained.
repeated .google.cloud.aiplatform.v1.Explanation explanations = 1; -
removeExplanations
The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions]. It has the same number of elements as [instances][google.cloud.aiplatform.v1.ExplainRequest.instances] to be explained.
repeated .google.cloud.aiplatform.v1.Explanation explanations = 1; -
getExplanationsBuilder
The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions]. It has the same number of elements as [instances][google.cloud.aiplatform.v1.ExplainRequest.instances] to be explained.
repeated .google.cloud.aiplatform.v1.Explanation explanations = 1; -
getExplanationsOrBuilder
The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions]. It has the same number of elements as [instances][google.cloud.aiplatform.v1.ExplainRequest.instances] to be explained.
repeated .google.cloud.aiplatform.v1.Explanation explanations = 1;- Specified by:
getExplanationsOrBuilderin interfaceExplainResponseOrBuilder
-
getExplanationsOrBuilderList
The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions]. It has the same number of elements as [instances][google.cloud.aiplatform.v1.ExplainRequest.instances] to be explained.
repeated .google.cloud.aiplatform.v1.Explanation explanations = 1;- Specified by:
getExplanationsOrBuilderListin interfaceExplainResponseOrBuilder
-
addExplanationsBuilder
The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions]. It has the same number of elements as [instances][google.cloud.aiplatform.v1.ExplainRequest.instances] to be explained.
repeated .google.cloud.aiplatform.v1.Explanation explanations = 1; -
addExplanationsBuilder
The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions]. It has the same number of elements as [instances][google.cloud.aiplatform.v1.ExplainRequest.instances] to be explained.
repeated .google.cloud.aiplatform.v1.Explanation explanations = 1; -
getExplanationsBuilderList
The explanations of the Model's [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions]. It has the same number of elements as [instances][google.cloud.aiplatform.v1.ExplainRequest.instances] to be explained.
repeated .google.cloud.aiplatform.v1.Explanation explanations = 1; -
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.
-
setDeployedModelId
ID of the Endpoint's DeployedModel that served this explanation.
string deployed_model_id = 2;- Parameters:
value- The deployedModelId to set.- Returns:
- This builder for chaining.
-
clearDeployedModelId
ID of the Endpoint's DeployedModel that served this explanation.
string deployed_model_id = 2;- Returns:
- This builder for chaining.
-
setDeployedModelIdBytes
ID of the Endpoint's DeployedModel that served this explanation.
string deployed_model_id = 2;- Parameters:
value- The bytes for deployedModelId to set.- Returns:
- This builder for chaining.
-
getPredictionsList
The predictions that are the output of the predictions call. Same as [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions].
repeated .google.protobuf.Value predictions = 3;- Specified by:
getPredictionsListin interfaceExplainResponseOrBuilder
-
getPredictionsCount
public int getPredictionsCount()The predictions that are the output of the predictions call. Same as [PredictResponse.predictions][google.cloud.aiplatform.v1.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.v1.PredictResponse.predictions].
repeated .google.protobuf.Value predictions = 3;- Specified by:
getPredictionsin interfaceExplainResponseOrBuilder
-
setPredictions
The predictions that are the output of the predictions call. Same as [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions].
repeated .google.protobuf.Value predictions = 3; -
setPredictions
public ExplainResponse.Builder setPredictions(int index, com.google.protobuf.Value.Builder builderForValue) The predictions that are the output of the predictions call. Same as [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions].
repeated .google.protobuf.Value predictions = 3; -
addPredictions
The predictions that are the output of the predictions call. Same as [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions].
repeated .google.protobuf.Value predictions = 3; -
addPredictions
The predictions that are the output of the predictions call. Same as [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions].
repeated .google.protobuf.Value predictions = 3; -
addPredictions
The predictions that are the output of the predictions call. Same as [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions].
repeated .google.protobuf.Value predictions = 3; -
addPredictions
public ExplainResponse.Builder addPredictions(int index, com.google.protobuf.Value.Builder builderForValue) The predictions that are the output of the predictions call. Same as [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions].
repeated .google.protobuf.Value predictions = 3; -
addAllPredictions
public ExplainResponse.Builder addAllPredictions(Iterable<? extends com.google.protobuf.Value> values) The predictions that are the output of the predictions call. Same as [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions].
repeated .google.protobuf.Value predictions = 3; -
clearPredictions
The predictions that are the output of the predictions call. Same as [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions].
repeated .google.protobuf.Value predictions = 3; -
removePredictions
The predictions that are the output of the predictions call. Same as [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions].
repeated .google.protobuf.Value predictions = 3; -
getPredictionsBuilder
public com.google.protobuf.Value.Builder getPredictionsBuilder(int index) The predictions that are the output of the predictions call. Same as [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions].
repeated .google.protobuf.Value predictions = 3; -
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.v1.PredictResponse.predictions].
repeated .google.protobuf.Value predictions = 3;- Specified by:
getPredictionsOrBuilderin interfaceExplainResponseOrBuilder
-
getPredictionsOrBuilderList
The predictions that are the output of the predictions call. Same as [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions].
repeated .google.protobuf.Value predictions = 3;- Specified by:
getPredictionsOrBuilderListin interfaceExplainResponseOrBuilder
-
addPredictionsBuilder
public com.google.protobuf.Value.Builder addPredictionsBuilder()The predictions that are the output of the predictions call. Same as [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions].
repeated .google.protobuf.Value predictions = 3; -
addPredictionsBuilder
public com.google.protobuf.Value.Builder addPredictionsBuilder(int index) The predictions that are the output of the predictions call. Same as [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions].
repeated .google.protobuf.Value predictions = 3; -
getPredictionsBuilderList
The predictions that are the output of the predictions call. Same as [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions].
repeated .google.protobuf.Value predictions = 3;
-