public static final class EvaluatedAnnotationExplanation.Builder extends GeneratedMessageV3.Builder<EvaluatedAnnotationExplanation.Builder> implements EvaluatedAnnotationExplanationOrBuilder
Explanation result of the prediction produced by the Model.
Protobuf type google.cloud.aiplatform.v1.EvaluatedAnnotationExplanation
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public EvaluatedAnnotationExplanation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public EvaluatedAnnotationExplanation build()
public EvaluatedAnnotationExplanation buildPartial()
public EvaluatedAnnotationExplanation.Builder clear()
Overrides
public EvaluatedAnnotationExplanation.Builder clearExplanation()
Explanation attribution response details.
.google.cloud.aiplatform.v1.Explanation explanation = 2;
public EvaluatedAnnotationExplanation.Builder clearExplanationType()
Explanation type.
For AutoML Image Classification models, possible values are:
image-integrated-gradients
image-xrai
string explanation_type = 1;
public EvaluatedAnnotationExplanation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public EvaluatedAnnotationExplanation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public EvaluatedAnnotationExplanation.Builder clone()
Overrides
public EvaluatedAnnotationExplanation getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Explanation getExplanation()
Explanation attribution response details.
.google.cloud.aiplatform.v1.Explanation explanation = 2;
public Explanation.Builder getExplanationBuilder()
Explanation attribution response details.
.google.cloud.aiplatform.v1.Explanation explanation = 2;
public ExplanationOrBuilder getExplanationOrBuilder()
Explanation attribution response details.
.google.cloud.aiplatform.v1.Explanation explanation = 2;
public String getExplanationType()
Explanation type.
For AutoML Image Classification models, possible values are:
image-integrated-gradients
image-xrai
string explanation_type = 1;
Returns |
Type |
Description |
String |
The explanationType.
|
public ByteString getExplanationTypeBytes()
Explanation type.
For AutoML Image Classification models, possible values are:
image-integrated-gradients
image-xrai
string explanation_type = 1;
Returns |
Type |
Description |
ByteString |
The bytes for explanationType.
|
public boolean hasExplanation()
Explanation attribution response details.
.google.cloud.aiplatform.v1.Explanation explanation = 2;
Returns |
Type |
Description |
boolean |
Whether the explanation field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public EvaluatedAnnotationExplanation.Builder mergeExplanation(Explanation value)
Explanation attribution response details.
.google.cloud.aiplatform.v1.Explanation explanation = 2;
public EvaluatedAnnotationExplanation.Builder mergeFrom(EvaluatedAnnotationExplanation other)
public EvaluatedAnnotationExplanation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public EvaluatedAnnotationExplanation.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final EvaluatedAnnotationExplanation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public EvaluatedAnnotationExplanation.Builder setExplanation(Explanation value)
Explanation attribution response details.
.google.cloud.aiplatform.v1.Explanation explanation = 2;
public EvaluatedAnnotationExplanation.Builder setExplanation(Explanation.Builder builderForValue)
Explanation attribution response details.
.google.cloud.aiplatform.v1.Explanation explanation = 2;
public EvaluatedAnnotationExplanation.Builder setExplanationType(String value)
Explanation type.
For AutoML Image Classification models, possible values are:
image-integrated-gradients
image-xrai
string explanation_type = 1;
Parameter |
Name |
Description |
value |
String
The explanationType to set.
|
public EvaluatedAnnotationExplanation.Builder setExplanationTypeBytes(ByteString value)
Explanation type.
For AutoML Image Classification models, possible values are:
image-integrated-gradients
image-xrai
string explanation_type = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for explanationType to set.
|
public EvaluatedAnnotationExplanation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public EvaluatedAnnotationExplanation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final EvaluatedAnnotationExplanation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides